Skip to content

Latest commit

 

History

History

api

COVID19 API

The api for the COVID19 app.

Setup

Change directory to api folder

$ cd api

Install dependencies

$ npm install

Create an env file

$ cp .env.example .env

Note: Your .env file is where app credentials are stored locally. These credentials are read by the config.js file during runtime. If you need the config variables, please contact one of the contributors.

Local development

$ npm run dev


To View Swagger documentation:

[http://localhost:8000/api-docs](http://localhost:8000/api-docs)

Run in production mode

$ npm start