Skip to content

This repo shows the backend part of how the todo list works using different routes and implements the simple usage of http methods like get, put, post and delete

Notifications You must be signed in to change notification settings

Anxhul10/todo_list_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Steps to Run This Program

Handlers: [GET, PUT, POST, DELETE]

  1. Open your preferred IDE (Integrated Development Environment).

  2. Navigate to your project directory in the terminal or command prompt.

  3. Install required dependencies:

    • Run the following commands:
      npm install express
      npm install body-parser
      
  4. Install Postman:

  5. Configure Postman:

    • Open Postman and select the HTTP method (GET, PUT, POST, DELETE).
  6. Send a POST request:

    • Set the request URL to http://localhost:3000.
    • Select raw and JSON format in the body tab.
    • Input JSON data, e.g., {"title": "github"}.
  7. Check if data is added:

    • Send a GET request to http://localhost:3000/ in Postman.

Enjoy exploring your Express.js server with CRUD operations!

About

This repo shows the backend part of how the todo list works using different routes and implements the simple usage of http methods like get, put, post and delete

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published