Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN3_projectServer

TypeScript License

📝 Description

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.

✨ Features

  • 🗄️ Database
  • 🕸️ Web

🛠️ Tech Stack

  • 🚀 Express.js
  • 📜 TypeScript

📦 Key Dependencies

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

🚀 Run Commands

  • dev: npm run dev

📁 Project Structure

.
├── 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

👥 Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/sovitha77/MERN3_projectServer.git
  3. Create a new branch: git checkout -b feature/your-feature
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push to your branch: git push origin feature/your-feature
  6. Open a pull request

Please ensure your code follows the project's style guidelines and includes tests where applicable.

📜 License

This project is licensed under the ISC License.

About

server code or backend code of MERN3

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages