Health monitoring is a sample prototype that uses Angular 4 and ngrx to monitor patient's health. The backend is built with Google cloud functions, the communication is made using Http.
Technology Stack :
- Angular 4
- NgRx : redux implementation for angular apps.
- Material Design
- Chart.js
- Express js
- Google cloud functions.
- Firebase
First of all you need to install dependencies for both client and server.
Run npm install in the root folder of the project to install client dependencies.
Move to functions folder then Run npm install to install cloud functions dependencies.
After installing the dependencies you should be able to run the application locally by following these steps :
-
Run
firebase serve --only functionsto simulate cloud functions locally -
Run
ng servefor a dev server. Navigate tohttp://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
Run firebase deploy to deploy the application to firebase.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.