Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 2.33 KB

README.md

File metadata and controls

38 lines (32 loc) · 2.33 KB

Todo backend API

Backend for adding, listing, updating and deleting todos.

A todo item looks like this -

{
    "_id": "60b09540c8a51f2904e9d945",
    "title": "Get groceries",
    "description": "Get groceries",
    "completed": false,
    "createdAt": "2021-05-28T07:01:20.904Z",
    "updatedAt": "2021-05-28T07:01:20.904Z",
    "__v": 0
}

Features -

NPM scripts -

  • npm install - to install dependencies.
  • npm run start - to start web server
  • npm run dev - to start web server in dev mode using nodemon
  • npm run test - to run unit and e2e tests
  • npm run coverage - to generate test coverage

Docker - docker compose up to start the web server with its dependencies.

Postman collection, collection public link, and environment variables here.