Skip to content

Gaurav-023/Method_Basic-Express-Server

Repository files navigation

Todo REST API

A simple REST API built with Node.js and Express.

Features

  • RESTful routes (GET, POST, PUT, DELETE)
  • Custom middleware for input validation
  • Rate limiting
  • Global error handling

Tech Stack

  • Node.js
  • Express.js

Getting Started

Installation

git clone https://github.com/Gaurav-023/Method_Basic-Express-Server
cd Method_Basic-Express-Server
npm install

Run the server

node index.js

Server runs on http://localhost:3000

API Endpoints

Method Endpoint Description
GET /todos Get all todos
POST /todos Create a new todo
PUT /todos/:id Update a todo
DELETE /todos/:id Delete a todo

Author

Gaurav — Actively looking for Junior Backend Developer roles.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors