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.
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.
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
REACT_APP_I18N_DEBUG
REACT_APP_I18N_FALLBACK_LANGUAGE
In the project directory, you can run:
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.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Runs a test coverage report.
Launches the tests running in debug mode.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.