Skip to content

sjimenez77/devon4ng-ionic-application-template

 
 

Repository files navigation

devon4ng-ionic-application-template

This repository contains a basic template of an ionic 5 application, which implements common functionalities such as: login, language settings and interaction with a database (delete, add, modify and update data).

Dependencies

To run the commands command on the "How to use" section, a Node.js installation with the package ionic is needed.

This application also uses Capacitor to access to native functionalities, so the capacitor module has to be installed.

To show the template on android devices, it is necessary to have Android Studio and Android SDK.

NOTE: devonfw console comes with an Node.js and Ionic installation.

How to use

To use this application, the following steps have to be done:

  • download the project or clone this repository.
  • run npm install in the root folder
  • run ionic serve

After that, a browser window will be opened to show the app.

  • To display the results on an android device:

  • run run npx cap init "name-for-the-app (between quotes)" "id-for-the-app (between quotes)"

  • run ionic build --configuration=android

  • run npx cap add android

  • run npx cap copy

  • run npx cap open android

The last command opens Android Studio. Once it is opened, build the sdk and run an emulator/connect a device.

About

devon4ng Ionic Application Template

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 66.2%
  • HTML 18.3%
  • SCSS 12.5%
  • JavaScript 3.0%