This is a rest API that serves https://snacks-tidbits.herokuapp.com/
https://snacks-server.herokuapp.com/
GET api/tasks - list of all tasks POST api/tasks - creates a task PUT api/tasks/:id - updates a task DELETE api/tasks/:id - deletes a task
- Create .env file from template.env
- Run in command line:
> npm install
To access on http://localhost:5000/ :
> npm run server
To run tests
npm test
- If you wanna start the client side as well head to: https://github.com/mikitaro-27/snacks-client
Express, MongoDB