Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple CRUD API

This project implements a basic CRUD (Create, Read, Update, Delete) REST API using Node.js and Express.

Features

  • Create a user
  • Read all users
  • Read user by ID
  • Update user details
  • Delete a user

Technologies Used

  • Node.js
  • Express.js
  • Postman

How to Run

  1. Install dependencies:
    npm install
  2. Start the Server
    node index.js
  3. Server runs at : http://localhost:4000

API Endpoints:

  • POST /users – Create user
  • GET /users – Get all users
  • GET /users/:id – Get user by ID
  • PUT /users/:id – Update user
  • DELETE /users/:id – Delete user

Testing

All API endpoints were tested using Postman.

About

A Simple CRUD API built using Node.js and Express, tested with Postman.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages