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
- helmet: Secure Express apps by setting various HTTP headers to protect against well-known web vulnerabilities.
- @notionhq/client: Official Notion API client for Node.js.
- randomstring: Generate random strings.
- jsonwebtoken: An implementation of JSON Web Tokens.
- bcrypt: A library to help you hash passwords.
- winston: A logger for just about everything.
- moment: Parse, validate, manipulate, and display dates and times in JavaScript.
- lodash: A modern JavaScript utility library delivering modularity, performance & extras.
- 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.