This project implements a basic CRUD (Create, Read, Update, Delete) REST API using Node.js and Express.
- Create a user
- Read all users
- Read user by ID
- Update user details
- Delete a user
- Node.js
- Express.js
- Postman
- Install dependencies:
npm install
- Start the Server
node index.js
- Server runs at : http://localhost:4000
- 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
All API endpoints were tested using Postman.