bwasilewski / CovidCases-API

API for CovidCases.io

Home Page:https://covidcases.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

covidcases-server

  • Endpoint for getting a location's lat/long
  • Replace current source of data with the daily reports
  • Automate a daily pull on JHU submodule
  • Automate deployment update (below instructions)
  • Add helmet and other security stuff
  • Add unit testing
  • Replace current data source with JHU
  • Connect with frontend
  • Set up production on DigitalOcean

This application was deployed using these instructions

Deploying Updates

Excerpted from the above article:

  1. Make code changes on your local development machine
  2. Push the changes to the GitHub repository
  3. SSH into your DigitalOcean server
  4. Remove the app directory that holds the old application code
  5. Clone the repository from GitHub with the new and updated code
  6. Re-install all the npm dependencies for the application
  7. Reload the PM2 process manager to fully deploy all changes
  8. Test your application to ensure everything works as planned

About

API for CovidCases.io

https://covidcases.io

License:MIT License


Languages

Language:JavaScript 100.0%