POST Requests & Mongo
Test GET endpoint: localhost:8080/tasks
test POST endpoint: localhost:8080/tasks
- Post Body JSON:
{ "text": "This is task nr 3", "complete": true }
Getting started
- Install dependencies with
npm install
, then start the server by runningnpm run dev
- Install mongoose
- Start MongoDB