This is a simple CRUD (Create, Read, Update, Delete) API server implemented in Node.js using the HTTP module. The server manages a collection of products and provides endpoints to perform CRUD operations on these products.
Before running the server, ensure you have Node.js installed on your machine. If not, you can download and install it from nodejs.org.
- Clone the repository
- Run the project:
You can run the project using either regular Node.js or nodemon for automatic server restarts during development.
Using Node.js:
node server.js
Using nodemon (recommended for development):
nodemon server.js
The server will be running at http://localhost:3000 (or your specified port).