Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏢 HallPoint — Server Side API

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.


🔗 Live API & Repository

🌐 API Base URL: https://hall-point-server.vercel.app/
📁 Repository: GitHub - Server Side


⚙️ Tech Stack & Dependencies

A modern Express backend with secure authentication, database handling, and payment integration.

Tech Description
Node.js Backend runtime
Express Web framework
MongoDB NoSQL database
JWT Token-based auth
Stripe Payment processing

📦 Main Dependencies

  • express – Fast and minimalist Node.js web framework
  • cors – Cross-Origin Resource Sharing
  • dotenv – Environment variable loader
  • mongodb – Native MongoDB driver
  • jsonwebtoken – Secure authentication with tokens
  • cookie-parser – Parse cookies in requests
  • stripe – Payment integration for meal & hostel services
  • nodemon – Auto-restart dev server on file changes

🚀 Features

✅ 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)


📁 Folder Structure

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 configs

🧑‍💻 Getting Started

Clone the repository

git clone https://github.com/Programming-Hero-Web-Course4/b11a12-server-side-mdmhrz

cd hall-point-server

🚀 Deployment

The 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


👨‍💻 Author

Developed with ❤️ by Mobarak Hossain Razu

📫 Feel free to contribute, report bugs, or suggest features!

About

This is a server side code repository for a Hostel Management System

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages