Official IIT Guwahati Resident Portal
An Official platform being made for IIT Guwahati residents to improve their living experience in campus.
This app helps students to put a complaint about issues faced in hostel. It also has a mess card system which enables swift authentication for mess related purposes.
All UI mock-ups, prototypes, designs were created in Figma.
- Complaint Management System: Submit, track, and resolve hostel issues
- Role-Based Access Control:
- Students: Submit/view complaints
- Wardens: Approve/reject complaints
- Admins: Manage system settings
- QR Mess Cards: Instant student verification for meal tracking
- Secure Authentication: JWT tokens with Outlook OAuth (Azure AD)
- Modular REST API: Structured Express.js backend with middleware support
- Runtime: Node.js 18
- Framework: Express.js
- Database: MongoDB Atlas
- Authentication: JWT + Azure Active Directory
- Mobile App: Flutter (iOS & Android)
- Admin Panel: React.js
- Cloud: AWS EC2 (Backend), S3 (Storage)
- CI/CD: GitHub Workflows
-
Clone the repository:
git clone https://github.com/HABIITG/iitgHABapp.git cd server -
Create .env file in the server directory with these variables:
# MongoDB MONGODB_URI="your_mongodb_connection_string" # Azure AD, can be obtained from Azure portal CLIENT_ID="your_azure_app_id" CLIENT_SECRET="your_azure_secret" REDIRECT_URI="https://hab.codingclub.in/auth/callback" # JWT JWT_SECRET="your_secure_random_string" # Outlook Email OUTLOOK_ID="sender@iitg.ac.in" OUTLOOK_PASS="email_password" NAME_ID="Hostel Affairs Board" # Server PORT=3000
-
Install dependencies and run:
npm install npm run start
We follow a specific branching strategy to ensure stability:
devBranch: This is the active development branch. All code changes, features, and fixes must be committed here. Please create Pull Requests (PRs) against thedevbranch.prodBranch: This branch is strictly for production server deployment. It reflects the live state of the application.
Note
Do not commit directly to prod. Changes are merged from dev to prod only when ready for release.
IIT Guwahati © 2024 Hostel Affairs Board







