Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.06 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.06 KB

NODE.JS CRUD API WITH MongoDB

💻 Project

This repository contains a RESTful CRUD API built using Node.js and MongoDB, providing a powerful and flexible foundation for managing and manipulating data. The API enables Create, Read, Update, and Delete (CRUD) operations, allowing developers to interact with the data in a structured and efficient manner.

API Endpoints

Here are the main endpoints supported by the API:

GET /api/resource: Retrieve all resources. GET /api/resource/:id: Retrieve a specific resource by ID. POST /api/resource: Create a new resource. PUT /api/resource/:id: Update an existing resource by ID. DELETE /api/resource/:id: Delete a resource by ID.

Setup this project

After you download or clone this project, you need run this command to install Node packages

npm install

To start the application run the below command

npm run swap

🚀 Technologies Used

Node.js: JavaScript runtime Express.js: Web application framework MongoDB: NoSQL database Mongoose: MongoDB object modeling tool for Node.js