Skip to content

An Ionic, health related, demo app for the 1st year final project at ENSIAS.

License

Notifications You must be signed in to change notification settings

HamzaEzzRa/Ionic-App

Repository files navigation

PFA

An Ionic, health related, demo app for the 1st year final project at ENSIAS.

Running the app

Make sure NodeJS is installed.

Open up your system console / terminal

Install Ionic CLI.

npm install -g @ionic/cli

Clone this repo.

git clone https://github.com/Hamza-IT/PFA.git

With the console/terminal, cd into the cloned folder and install any dependencies.

npm install

Build the app (the first command uses node to build while the second one builds with angular/cli, choose either).

npm run build
or
ng build

Serve the app

ionic serve

Head to http://localhost:8100 in your browser and you should hopefully see the app running 👏. (Tap CTRL+SHIFT+I to open the web console and then CTRL+SHIFT+M to get a mobile view of the app)

Built APK

We've also got a pre-built, ready to test apk version to test on your android device: PFA.apk

About the backend

It's ready to use with the current state of the app and is already deployed with the help of AWS Elastic Beanstalk. If you're using its source code, you'll need to specify the following environment:

    MONGO_ATLAS_USER: Your Mongo Atlas username for the cloud database,
    MONGO_ATLAS_PW: Your Mongo Atlas password,
    ONESIGNAL_REST_KEY: Your OneSignal REST API Key for push notifications,
    APP_ID: Your OneSignal app id,
    GMAIL_USER: Your Gmail username (If other service then modify the misc/mailer.js accordingly),
    GMAIL_PASS: Your Gmail password,
    JWT_ACCESS_KEY: A jsonwebtoken key,
    JWT_REFRESH_KEY: Another jsonwebtoken key

About

An Ionic, health related, demo app for the 1st year final project at ENSIAS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published