Crud-Http-Express is a simple CRUD (Create, Read, Update, Delete) API built with Node.js and Express.js. It provides a basic HTTP interface to interact with a simple database and perform CRUD operations on the data.
- Create new items
- Read existing items
- Update existing items
- Delete items
- RESTful API design
- Easy to use and extend
- Make sure you have Node.js and npm installed.
- Clone this repository:
git clone https://github.com/Irenaeus-XVI/Crud-Http-Express.git
- Navigate to the project directory:
cd Crud-Http-Express
- Install the dependencies:
npm install
- Start the server:
npm start
- The API will be accessible at:
http://localhost:3000
GET /
- Get all itemsGET /searchById
- Get a specific itemPOST /addUser
- Create a new item (JSON payload required)PUT /updateUser
- Update an existing item (JSON payload required)DELETE /deleteUser
- Delete an item
Contributions are welcome! If you find any issues or have suggestions, please feel free to open an issue or create a pull request.
This project is licensed under the MIT License.