A full-stack hostel complaint management system with role-based access for students and administrators.
🔗 Application URL:
🔗 [Click Here to View the Application] http://3.12.71.152/login
🏠 HostelOps – Dockerized & Cloud-Deployed Hostel Complaint Management System
- User authentication (students and admins)
- Submit and track maintenance complaints
- Real-time status updates (Pending → In Progress → Resolved)
- Admin dashboard for managing all complaints
- Filter and search functionality
- Image attachments for complaints
Backend: Node.js, Express.js, Sequelize, SQLite, JWT, bcryptjs, Multer
Frontend: React 18, React Router, Axios, Context API
DevOps: Docker, Docker Compose, Nginx
- Node.js (v14+)
- npm
- Clone the repository
- Install backend dependencies:
cd backend npm install - Install frontend dependencies:
cd frontend npm install
Backend:
cd backend
npm startServer runs on http://localhost:5000
Frontend:
cd frontend
npm startApp runs on http://localhost:3000
docker-compose up- Register with student role
- Login to access dashboard
- Submit complaints with category, priority, and description
- Optionally attach images (max 5MB)
- Track complaint status
- Register with admin role
- View all complaints
- Filter by status or category
- Update complaint status
POST /api/register- Register userPOST /api/login- Login user
POST /api/complaints- Create complaint (student)GET /api/complaints/my- Get user's complaints (student)GET /api/complaints- Get all complaints (admin)PUT /api/complaints/:id- Update status (admin)
Users: id, name, email, password, role (student/admin)
Complaints: id, userId, category, description, priority, status, imageUrl