/simple-node-app

A simple NodeJS app.

Primary LanguageJavaScript

simple-node-app

A simple NodeJS app.

Run the App:

  • node app.js

To create a new Todo:

  • Open Postman and create a POST Request at localhost:3000/addtodo.
  • The JSON Raw Body as : { "title" : "task 1" }

To get all the Todos:

  • Open Postman and create a GET Request at localhost:3000/gettodo