This is the repository for the frontend client of the COVID-19 webapp. The backend can be found here.
The web client in developed using React.
- In your terminal, navigate to the
client
directory. - Run
npm install
to install all dependencies. - Run
npm start
to start the app (If you run the API locally, run withREACT_APP_DEBUG=1 npm start
instead) - Navigate to http://localhost:3000/.
For future development, in order to add to the number of countries supported, make the following changes.
Navigate to client/src/config.json
and add the countries in the following format:
country-name: [state-name-1, state-name-2, ...]
Update api/data/hospital.json
accordingly.
- Create client
- Create backend
- Show placeholder chart
- Implement proper UI controls for model input
- Implement model data
- Optional: Use backend for handling, depending on complexity
- Deploy backend
- Deploy frontend
- Add more countries
- Optimize for mobile viewports