A full-featured Node.js backend project, a part of and end-to-end app.
-
Authentication & Authorization
- JWT-based authentication
- User signup/login/logout
- Role-based access control
-
RESTful API Architecture
- Clean route organization
- Controller-Service pattern
- CRUD operations
-
Database Integration
- MongoDB connection
- Advanced filtering
- ObjectId handling
- Array operations in documents
-
Production Ready
- Environment configuration
- Comprehensive logging
- Error handling
- Middleware pipeline
- Node.js & Express
- MongoDB
- JWT Authentication
- BCrypt password hashing
- Cookie-based sessions
# Install dependencies
npm install
# Start development server
npm run server:devmister-backend/
├── api/ # API routes and controllers
├── config/ # Configuration files
├── middlewares/ # Custom middleware functions
├── public/ # Static files and test frontend
├── services/ # Business logic layer
└── logs/ # Application logs
- REST API design principles
- Authentication flows
- Database operations
- Middleware concepts
- Error handling
- Logging implementation
- Configuration management
The project includes a vanilla JavaScript frontend for testing the API endpoints. Open http://localhost:3030 in your browser to interact with the API.
MIT
Coding Academy - Built with ❤️ for teaching modern backend development