This is the backend application for a project. It is built using Node.js and Express, along with several dependencies for handling HTTP requests, email sending, and database interactions.
- Clone the repository:
git clone https://github.com/manthanank/backend-app.git
- Navigate to the project directory:
cd backend-app
- Install dependencies:
npm install
Run the following command to start the development server with nodemon:
npm run dev
This will automatically restart the server whenever changes are made.
To start the server in production, use:
npm start
- axios: Promise-based HTTP client for the browser and Node.js
- body-parser: Node.js body parsing middleware
- cors: Middleware for enabling Cross-Origin Resource Sharing (CORS)
- dotenv: Loads environment variables from a
.env
file - express: Web framework for Node.js
- mongoose: MongoDB object modeling tool designed to work in an asynchronous environment
- multer: Middleware for handling
multipart/form-data
, used for file uploads - nodemailer: Send emails with Node.js
- nodemon: Utility that automatically restarts the server during development
- Node.js: 16.15.1
- NPM: 8.12.1
This project is licensed under the MIT License - see the LICENSE file for details.