- cors: Enables Cross-Origin Resource Sharing (CORS) for handling cross-domain data sharing.
- express: A popular web application framework for Node.js, simplifying route creation and request handling.
- express-async-handler: A utility module that simplifies error handling for asynchronous request handlers in Express.
- mongoose: An Object Data Modeling (ODM) library for Node.js, designed to work with MongoDB, a NoSQL database.
- nodemon: A development tool that automatically restarts the server when source code changes, improving the development workflow.
npm run dev
npm start
const url = "your MongoDB Url";
module.exports = {
url,
}