A full-stack hostel management platform for educational institutions. Manages student profiles, attendance, leave applications, complaints, room allocation, canteen operations, and real-time notifications via Telegram.
ATLAS is a comprehensive hostel management system built as a monorepo, featuring role-based dashboards for Students, Wardens, Admins, Canteen Managers, and Caretakers. It streamlines operations from room allocation and attendance tracking to food ordering and complaint resolution, with optional Telegram bot integration for notifications.
| Role | Capabilities |
|---|---|
| Student | Profile, attendance, leaves, complaints, canteen wallet, food orders |
| Warden | Approve/reject leaves, mark attendance, manage complaints |
| Caretaker | Attendance marking, complaint tracking, leave oversight |
| Canteen Manager | Menu management, order processing, billing |
| Admin | User management, room allocation, reports, system configuration |
- Authentication — JWT (access + refresh tokens), email verification, forgot/reset password
- Attendance — In/out time tracking, status (Present/Absent/Late), date-wise records
- Leave Management — Apply, approve/reject, status tracking
- Complaints — Create, track status (Pending/In Progress/Resolved), image attachments
- Room Management — Room allocation, capacity, floor-wise organization
- Canteen — Menu by category (Breakfast, Lunch, Dinner, Snacks, etc.), food ordering, billing, transaction history
- Notifications — Email (Nodemailer) and optional Telegram bot for real-time updates
- Reports — Dashboard stats, export to Excel/CSV
| Layer | Technologies |
|---|---|
| Frontend | React 19, Vite 7, Tailwind CSS 4, shadcn/ui, React Query, Zustand, React Router |
| Backend | Node.js, Express 5, Prisma ORM |
| Database | PostgreSQL |
| Auth | JWT, bcrypt |
| Validation | Zod |
| File Upload | Cloudinary, Multer |
| Nodemailer | |
| Bot | node-telegram-bot-api |
ATLAS/
├── backend/ # Express API
│ ├── prisma/ # Schema, migrations, seed
│ └── src/
│ ├── controllers/ # Request handlers
│ ├── services/ # Business logic
│ ├── routes/ # API routes
│ ├── middleware/ # Auth, validation, error handling
│ └── utils/ # Helpers, logger
│
├── frontend/ # React SPA
│ └── src/
│ ├── api/ # API clients
│ ├── components/ # Reusable UI
│ ├── pages/ # Role-based pages
│ ├── store/ # Zustand state
│ └── hooks/ # Custom hooks
│
└── README.md
- Node.js 18+
- pnpm (or npm)
- PostgreSQL
git clone https://github.com/himanshhhhuv/ATLAS.git
cd ATLAScd backend
cp .env.example .env
# Edit .env with DATABASE_URL, JWT secrets, etc.
pnpm install
pnpm prisma generate
pnpm prisma migrate dev
pnpm devAPI runs at http://localhost:5000
cd frontend
cp .env.example .env # if available, or create .env with VITE_API_URL
pnpm install
pnpm devApp runs at http://localhost:5173
See backend/TELEGRAM_BOT.md for setup instructions.
- API Routes — Full endpoint documentation
- Database Schema — Schema reference (if present)
- Health check:
GET /health
MIT