inato / inato-anticovid

Inato's contribution to the fight against COVID19
https://covid.inato.com
MIT License
3 stars 1 forks source link

Overview

This project contains 2 main parts:

All decisions related to this project are located in the ADR folder.

Components

A complete stack of AntiCovid is composed of the following:

If you're not part of Inato, you'll need an Algolia account and a Postgres database with a table filled with required data to be able to fully run all the components of this project.

Development

Local app

To build and run on localhost:3000

yarn start

To configure the indices your local app connects to, modify src/config/config.json

Testing

To run integration tests use

yarn test

from the root folder for the app tests, and from the functions/ folder for the functions tests.

We use Cypress to run e2e tests. Locally, you can open a cypress window and select the tests to run:

yarn e2e:dev

To run all e2e tests (CI for ex):

yarn e2e

Deployment

Everything is deployed to Firebase.

There are two long-lived branches:

To make a contribution: