The powerful backend of HallPoint, a full-stack hostel management system.
Built with Express, MongoDB, and JWT for secure, scalable, and high-performance REST APIs.
🌐 API Base URL: https://hall-point-server.vercel.app/
📁 Repository: GitHub - Server Side
A modern Express backend with secure authentication, database handling, and payment integration.
| Tech | Description |
|---|---|
| Backend runtime | |
| Web framework | |
| NoSQL database | |
| Token-based auth | |
| Payment processing |
express– Fast and minimalist Node.js web frameworkcors– Cross-Origin Resource Sharingdotenv– Environment variable loadermongodb– Native MongoDB driverjsonwebtoken– Secure authentication with tokenscookie-parser– Parse cookies in requestsstripe– Payment integration for meal & hostel servicesnodemon– Auto-restart dev server on file changes
✅ RESTful API with Express
✅ JWT Authentication with Cookies
✅ Role-based Authorization
✅ MongoDB CRUD Operations
✅ Stripe Payment Integration
✅ Environment-based Secure Config
✅ Hosted on Vercel (Serverless)
hall-point-server/
├── index.js # Main server file
├── .env # Environment variables
├── /routes # Express routes
├── /controllers # Request handlers
├── /middlewares # Custom auth/role middlewares
├── /utils # Reusable helper functions
└── /config # DB & other configsgit clone https://github.com/Programming-Hero-Web-Course4/b11a12-server-side-mdmhrz
cd hall-point-serverThe backend is deployed on Vercel for fast and scalable performance.
-
🌍 Base URL: https://hall-point-server.vercel.app/
-
🛡️ CORS is configured to allow requests only from the client domain
-
⚡ Serverless functions for optimal cold start performance
📫 Feel free to contribute, report bugs, or suggest features!