This is a simple RESTful API built with Node.js and Express.js that does not require a database connection. It provides basic CRUD (Create, Read, Update, Delete) operations for managing data.
- Create: Add new data
- Read: Retrieve existing data
- Update: Modify existing data
- Delete: Remove existing data
- Node.js
- Express.js
Before running this application, ensure that you have Node.js installed on your machine.
-
Clone the repository to your local machine:
-
Navigate to the project directory using command cd <repository_name>
-
Install dependencies: npm install
-
Start the server: npm start
-
Access the API endpoints using your preferred HTTP client. Ex: Postman
- Retrieves all users
- Retrieves a user by ID
- Adds a new user
- Deletes a user by ID
- Updates a user by ID