The MERN3_projectServer is the robust and efficient backend component powering the MERN3 application. Built with Express.js and TypeScript, it provides a strongly-typed and scalable foundation for handling data and business logic. This server application is designed to manage database interactions and deliver web-based functionalities, ensuring a seamless and responsive user experience. It forms a critical part of the full-stack MERN3 application by providing the necessary API endpoints and data management capabilities.
- 🗄️ Database
- 🕸️ Web
- 🚀 Express.js
- 📜 TypeScript
axios: ^1.10.0
bcrypt: ^5.1.1
dotenv: ^16.4.7
dotnet: ^1.1.4
express: ^4.21.2
jsonwebtoken: ^9.0.2
multer: ^2.0.1
nodemailer: ^7.0.3
pg: ^8.13.1
sequelize-typescript: ^2.1.6
socket.io: ^4.8.1
- dev:
npm run dev
.
├── adminSeeder.ts
├── package.json
├── server.ts
├── src
│ ├── app.ts
│ ├── config
│ │ └── config.ts
│ ├── controllers
│ │ ├── CartController.ts
│ │ ├── categoryController.ts
│ │ ├── orderController.ts
│ │ ├── productController.ts
│ │ └── userController.ts
│ ├── database
│ │ ├── connection.ts
│ │ └── models
│ │ ├── UserModel.ts
│ │ ├── cartModel.ts
│ │ ├── categoryModel.ts
│ │ ├── orderDetail.ts
│ │ ├── orderModel.ts
│ │ ├── paymentModel.ts
│ │ └── productModel.ts
│ ├── globals
│ │ └── types
│ │ └── index.ts
│ ├── middleware
│ │ ├── multerMiddleware.ts
│ │ └── userMiddleware.ts
│ ├── routes
│ │ ├── cartRouter.ts
│ │ ├── categoryRoute.ts
│ │ ├── orderRoute.ts
│ │ ├── productRoute.ts
│ │ └── userRoute.ts
│ ├── services
│ │ ├── checkOtpExpiration.ts
│ │ ├── errorHandler.ts
│ │ ├── findData.ts
│ │ ├── generateOtp.ts
│ │ ├── generateToken.ts
│ │ ├── sendMail.ts
│ │ ├── sendResponse.ts
│ │ └── userRoute.ts
│ └── uploads
│ └── 1752136562319-20220813_152102.jpg
└── tsconfig.json
Contributions are welcome! Here's how you can help:
- Fork the repository
- Clone your fork:
git clone https://github.com/sovitha77/MERN3_projectServer.git - Create a new branch:
git checkout -b feature/your-feature - Commit your changes:
git commit -am 'Add some feature' - Push to your branch:
git push origin feature/your-feature - Open a pull request
Please ensure your code follows the project's style guidelines and includes tests where applicable.
This project is licensed under the ISC License.