A fullβstack hostel management web application built to handle realβworld campus operations efficiently.
Smart Hostel Management System is a productionβready fullβstack application designed to manage hostelβlevel operations such as issue reporting, announcements, lost & found tracking, and analytics.
The project focuses on:
- Clean architecture
- Secure authentication
- Scalable backend APIs
- Modern, responsive UI
This is a personal project built to demonstrate strong fullβstack engineering practices.
- JWTβbased authentication
- Roleβbased access (Student / Management)
- Secure protected routes
- Report hostel issues (plumbing, cleanliness, electrical, etc.)
- Priority levels (low β emergency)
- Status tracking (reported β in progress β resolved)
- Create & manage announcements
- Target specific user roles
- Reaction & comment support (extendable)
- Post lost or found items
- Claim workflow with timestamps
- Ownership tracking
- Issue trends & category breakdowns
- Roleβbased data visibility
- React + TypeScript
- Vite (fast builds)
- Tailwind CSS (responsive UI)
- Axios for API communication
- Node.js + Express
- MongoDB Atlas
- JWT Authentication
- Rate limiting, Helmet, CORS security
- Render (Frontend + Backend)
- Environmentβbased configuration
βββ π .github
β βββ π appmod
β βββ π appcat
βββ π assets
β βββ πΌοΈ smart-hostel-logo.png
βββ π backend
β βββ π middleware
β β βββ π auth.js
β β βββ π upload.js
β βββ π models
β β βββ π Announcement.js
β β βββ π Issue.js
β β βββ π LostFound.js
β β βββ π User.js
β βββ π routes
β β βββ π analytics.js
β β βββ π announcements.js
β β βββ π auth.js
β β βββ π hash.js
β β βββ π issues.js
β β βββ π lostFound.js
β βββ π uploads
β β βββ π issues
β β β βββ πΌοΈ img1.jpeg
β β β βββ πΌοΈ img2.png
β β βββ βοΈ .gitkeep
β βββ βοΈ package-lock.json
β βββ βοΈ package.json
β βββ π server.js
βββ π src
β βββ π components
β β βββ π CreateAnnouncement.tsx
β β βββ π Layout.tsx
β β βββ π LoginForm.tsx
β β βββ π ProtectedRoute.tsx
β βββ π contexts
β β βββ π AnnouncementContext.tsx
β β βββ π AuthContext.tsx
β β βββ π IssueContext.tsx
β β βββ π LostFoundContext.tsx
β β βββ π api.ts
β βββ π pages
β β βββ π Analytics.tsx
β β βββ π Announcements.tsx
β β βββ π Dashboard.tsx
β β βββ π Home.tsx
β β βββ π Issues.tsx
β β βββ π Login.tsx
β β βββ π LostFound.tsx
β β βββ π Profile.tsx
β β βββ π ReportIssue.tsx
β β βββ π register.tsx
β βββ π types
β β βββ π index.ts
β βββ π utils
β β βββ π cn.ts
β βββ π App.tsx
β βββ π¨ index.css
β βββ π main.tsx
β βββ π vite-env.d.ts
βββ βοΈ .gitignore
βββ π README.md
βββ π index.html
βββ βοΈ package-lock.json
βββ βοΈ package.json
βββ βοΈ tsconfig.json
βββ π vite.config.tsMONGODB_URI=your_mongodb_atlas_uri
JWT_SECRET=your_secure_secret
FRONTEND_URL=YOUR_FRONTEND_URL_DEPLOYEDVITE_API_URL=YOUR_BACKEND_URL_DEPLOYED/api- Clean, modern interface
- Mobileβresponsive layouts
- Roleβaware navigation
- Smooth state updates
UI responsiveness improvements are actively ongoing.
- Built with scalability and security in mind
- Uses real production deployment practices
- Designed as a longβterm extendable system
β If you find this project interesting, feel free to star the repository!