Skip to content

About

StaySphere – A full-stack Hostel & PG Management System built with Node.js, Express.js, MongoDB, HTML, CSS, and JavaScript.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

43 Commits

Folders and files

Repository files navigation

🏠 StaySphere – Hostel & PG Management System

StaySphere is a full-stack Hostel & PG Management System developed to simplify hostel and paying guest (PG) administration. It provides dedicated Admin and Tenant portals to efficiently manage rooms, tenants, rent, agreements, maintenance requests, visitors, attendance, expenses, and notices from a single platform.


🌐 Live Demo

Frontend

https://staysphere-app.netlify.app/

Backend API

https://staysphere-backend-cdg7.onrender.com


🎯 Project Overview

Managing a hostel manually can be time-consuming and error-prone. StaySphere digitizes hostel operations by providing a centralized platform where administrators can manage daily activities while tenants can access their personal information and services securely.


✨ Features

👨‍💼 Admin Portal

  • Secure Admin Authentication
  • Owner Dashboard
  • Room & Bed Management
  • Tenant Management
  • Rent Management
  • Digital Agreements
  • Maintenance Request Management
  • Visitor Management
  • Attendance Management
  • Expense Tracking
  • Notice Board Management
  • Search & Filter Support
  • Responsive User Interface

👤 Tenant Portal

  • Secure Tenant Authentication
  • Personal Dashboard
  • View Assigned Room & Bed
  • View Rent Records
  • View Digital Agreement
  • Submit Maintenance Requests
  • Track Maintenance Status
  • View Active Notices
  • Profile Management

🛠️ Tech Stack

Frontend

  • HTML5
  • CSS3
  • JavaScript (Vanilla)

Backend

  • Node.js
  • Express.js

Database

  • MongoDB Atlas
  • Mongoose

Authentication

  • JSON Web Token (JWT)
  • Role-Based Authorization

Deployment

  • Netlify
  • Render

📂 Project Structure

StaySphere
│
├── backend
│   ├── config
│   ├── controllers
│   ├── middleware
│   ├── models
│   ├── routes
│   ├── utils
│   ├── server.js
│   └── package.json
│
├── frontend
│   ├── css
│   ├── js
│   ├── index.html
│   ├── about.html
│   ├── login.html
│   ├── register.html
│   ├── dashboard.html
│   └── ...
│
└── README.md

🚀 Installation

Clone Repository

git clone https://github.com/vasudeva48/StaySphere.git

Navigate to Project

cd StaySphere

Install Dependencies

cd backend
npm install

Configure Environment Variables

Create a .env file inside the backend folder.

PORT=5000
MONGO_URI=YOUR_MONGODB_CONNECTION_STRING
JWT_SECRET=YOUR_SECRET_KEY

Run Backend

npm start

Run Frontend

Open the frontend using Live Server or any local web server.


📋 Modules

  • Authentication
  • Dashboard
  • Room & Bed Management
  • Tenant Management
  • Rent Management
  • Digital Agreements
  • Maintenance Requests
  • Visitor Management
  • Attendance & Check-In
  • Expense Tracking
  • Notice Board

🔐 Security

  • JWT Authentication
  • Password Hashing
  • Protected API Routes
  • Role-Based Authorization
  • Secure User Sessions

⭐ Project Highlights

  • Full-Stack Hostel & PG Management System
  • Separate Admin & Tenant Portals
  • RESTful API Architecture
  • MongoDB Atlas Cloud Database
  • JWT-Based Authentication
  • Responsive User Interface
  • Cloud Deployment using Netlify & Render

📄 Project Documentation

The complete project documentation is available in the Documentation folder.

🔗 LinkedIn Article

Read about my internship experience and the development of StaySphere here:

https://www.linkedin.com/posts/vasudeva-g-61bbb032b_my-xebia-internship-journey-and-the-development-ugcPost-7482826048930443265-zIN1/?utm_source=social_share_send&utm_medium=member_desktop_web&rcm=ACoAAFNK8ncBfwt0brMIHbrKHaVSYaql26FAYHo

👨‍💻 Author

Vasudeva

GitHub: https://github.com/vasudeva48


📄 License

This project was developed for educational, internship, and portfolio purposes.

© 2026 StaySphere. All rights reserved.

About

StaySphere – A full-stack Hostel & PG Management System built with Node.js, Express.js, MongoDB, HTML, CSS, and JavaScript.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages