allcleardev / allclear-app

AllClear, an open source app for covid-19 status reporting, tracking and locating testing sites.
GNU Affero General Public License v3.0
6 stars 0 forks source link

allclear

Codacy Badge Security Rating Maintainability Rating Quality Gate Status Duplicated Lines (%)

Version Release Commits Lines of Code

All
PRs Build Status Closed
PRs

AllClear Front End Application

General Info

This is the web version of AllClear.

AllClear has the largest database of COVID-19 test centers in the country. Each listing is manually verified and regularly checked for updates and changes.

Running the Project

In the project directory, run:

npm start

This will start 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.

Testing the Project

In the project directory, run:

npm run test:inspect

Launches the e2e test runner in the interactive watch mode. You can install nim to automatically open the chrome debugger so you can inspect variables within the scope of your tests. Trigger a breakpoint by placing debugger statements in your test.

env variables for testing

You'll need to pull a session token from the admin app, and supply an env variable for some of the tests to run:

SESSION_ID='GOD-SESSION-TOKEN'

Building the Project

In the project directory, run:

npm run 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.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Further Reading

Contact

General inquiries: info@allclear.app

Report a security issue: security@allclear.app