Skip to content
This repository has been archived by the owner on Apr 18, 2021. It is now read-only.

ddamico/gluco-check-frontend

Repository files navigation

Inactive Repo

This repo is being merged into the main https://github.com/nielsmaerten/gluco-check repo. It will be left here to preserve the original commit history, but further development will be taking place in the main repo.

Gluco Check Frontend Client

This repo contains the frontend app for user-management of Gluco Check settings. It is a plain old Create React App app, built in Typescript.

We've used i18n for supporting multiple languages in the frontend. The translation files are hosted directly in the project for now, but should be moving out to crowdin soon enough.

We've used react testing library for testing the app.

Please refer to the main contributors guide for more information on getting started. Not affiliated with the Nightscout Project.

Environment Variables

Firebase

  • REACT_APP_FIREBASE_API_KEY
  • REACT_APP_FIREBASE_AUTH_DOMAIN
  • REACT_APP_FIREBASE_DB_URL
  • REACT_APP_FIREBASE_PROJECT_ID
  • REACT_APP_FIREBASE_STORAGE_BUCKET
  • REACT_APP_FIREBASE_MESSAGING_SENDER_ID
  • REACT_APP_FIREBASE_APP_ID

i18next

  • REACT_APP_I18N_DEBUG
  • REACT_APP_I18N_FALLBACK_LANGUAGE

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn test:cov

Runs a test coverage report.

yarn test:debug

Launches the tests running in debug mode.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

About

Frontend for gluco check google assistant app.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages