Lime Tracker empowers people with epilepsy for better understanding of sickness development. It is available as Progressive Web App on lime-tracker.com.
Lime Tracker is an extensive seizure tracker, helping to understand epilepsy changes through data visualization.
Sample screenshots:
- Angular
- Firebase SDK
- NodeJS version: .nvmrc, Firebase Merge flow, Firebase Pull Request flow, Firebase Version Increment flow
Run Firebase Emulator: npm run firebase-emulator. View Emulator UI at http://localhost:4000. In order to persists emulator data run in separate console: npx firebase emulators:export test-data.
User accounts available in emulator (password is 123qwe):
janka@webperfekt.pl- female user with some datajan.kowalski@webperfekt.pl- user with some datanot.verified@webperfekt.pl- email has not been verifiedempty@webperfekt.pl- no data
Run in separte console ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Extract translation: npm run i18n-extract.
Install Visual Studio Code extension: Angular Localization Helper. Use command pallete run Angular i18n: Merge
Current version of Angular i18n doesn't allow to translate PWA manifest files. As a workaround manifest.webmanifest contains values with @@ prefix.
Those values are replaced by external postbuild script postbuild.js with keys from src/locale/messages.XX.xlf.
Translation units comes from template-page-title.strategy.ts file (as values in manifest are ignored by Angular i18n extraction task).
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Prerequisite for production deployment is to have Firebase CLI installed (firebase-tools are part of dev dependencies).
Login to the CLI with firebase login.
Verify connection to the Firebase project with firebase use.
Run ng build to build the project for production deployment. The build artifacts will be stored in the dist/ directory.
Run firebase hosting:channel:deploy beta to create and deploy to a preview channel.
Perform full deplyment (hosting, security rules, etc.) with firebase deploy or firebase deploy --only hosting to have only frontend deployed.
Lime Tracker is a Progressive Web Application. It can be installed on the end user device. Debugging information about NGSW can be found under URLs:
- Angular CLI Overview and Command Reference
- Angular Material Components
Angular Flex Layout- project is dead, required features integrated into Lime Tracker- Moment.js
- Angular Fire
- Firebase API - Reference
- ApexCharts - Examples