This is a scalable RESTful API built with Node.js and Express.js, following the MVC architecture. It was developed during the GDG Benha Backend Bootcamp (2026), where our project was recognized as the "Best Team" project.
- Secure Authentication: Implemented using JWT (JSON Web Tokens).
- Authorization: Role-based access control to protect sensitive routes.
- Database: Optimized MongoDB schemas with efficient relationships and data validation.
- Middleware: Structured error handling and security layers.
- API Testing: Fully tested using Postman.
- Backend: Node.js, Express.js
- Database: MongoDB, Mongoose
- Authentication: JWT (jsonwebtoken)
- Testing: Postman
src/app.controller.js: Request handling logic.src/database/: Database configuration and connection.src/database/models/: MongoDB schemas (User, Post).
- Clone the repository.
- Run
npm installto install dependencies. - Set up your
.envfile with your MongoDB URI and JWT Secret. - Run
npm startto launch the server.
Created by Mostafa Tarek