Skip to content

Lime Tracker empowers people with epilepsy for better understanding of sickness development.

License

Notifications You must be signed in to change notification settings

rzelazko/lime-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lime Tracker

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:

Technologies used

Development server

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 data
  • jan.kowalski@webperfekt.pl - user with some data
  • not.verified@webperfekt.pl - email has not been verified
  • empty@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.

I18N

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).

Code scaffolding

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.

Production build

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.

Progressive Web Application

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:

Links to used project and libraries

About

Lime Tracker empowers people with epilepsy for better understanding of sickness development.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •