the api is running in this url https://serene-kenai-fjords-89574.herokuapp.com
The endpoints are
GET /states
POST /states
TASKS
GET /tasks
GET /tasks/:id
POST /tasks
PATCH /tasks/:id
PATCH /tasks/:id/user
GET /users
GET /users/:id
POST /users
PATCH /users/:id
PATCH /users/:id/task
create an .env
file and add a DATABASE_URL
variable for the mongodb connection string and also add a PORT
variable with a valid value e.g. 5000
.
$ yarn
$ yarn dev