A centralized web platform for seamless dormitory management, maintenance tracking, and payment verification.
DormFix is a full-stack web application designed to digitize the interactions between Dormitory Landlords and Tenants. It replaces manual logbooks and unverified text messages with a centralized dashboard for managing room assignments, tracking rent payments, and filing maintenance requests.
Built to address the specific needs of local boarding houses, DormFix ensures transparency, accountability, and ease of use for both property managers and boarders.
- Dashboard Overview: View real-time occupancy rates and pending tasks.
- Payment Verification: Review proof-of-payment receipts (GCash/Bank) and approve or reject them with remarks.
- Room Management: Manage room inventory, set capacity limits, and assign tenants.
- Maintenance Tracking: Triage reported issues (Plumbing, Electrical) and update repair status.
- Housing Profile: View assigned room details, landlord contact info, and move-in dates.
- Digital Payments: Securely upload payment receipts and track verification status.
- Issue Reporting: File maintenance requests with urgency levels and descriptions.
- History Log: Access a permanent record of past payments and maintenance tickets.
- Frontend: React (Vite) + TypeScript + Tailwind CSS
- Backend: Node.js + Express.js
- Database: Microsoft SQL Server (MSSQL)
- State Management: React Context API
- File Storage: Local Multer Storage (for receipts)
Follow these instructions to run the project locally on your machine.
Ensure you have the following installed:
- Node.js (v18 or higher)
- Microsoft SQL Server Express (2019 or later)
- Git
- Open SQL Server Management Studio (SSMS).
- Create a new database named
dormfix. - Create a Login/User named
sawith the passwordsharingan.- Note: Ensure TCP/IP is enabled in SQL Server Configuration Manager.
- Initialize the Database Schema
- Navigate to the
database/folder in the project source. - Open the file named
schema.sql(orsetup.sql) inside SQL Server Management Studio (SSMS). - CRITICAL: In the SSMS toolbar, ensure the target database dropdown is set to
dormfix(it defaults tomaster). - Click the Execute button (or press
F5) to run the script. - Verification: Refresh the "Tables" folder in the Object Explorer. You should see
dbo.users,dbo.rooms,dbo.payments, etc.
- Navigate to the
This project uses environment variables for configuration. You must create a .env file in the server directory before running the application.
- Navigate to the server directory:
cd server- Create a file named
.env:
touch .env- Add this exact database credentials to
.envto run the application:
DB_USER=sa
DB_PASSWORD=your_secure_password
DB_SERVER=localhost
DB_NAME=dormfix- Start the backend server:
npm install
npm run devYou should see: Server running on http://localhost:5000
Open a terminal window and navigate to the client directory:
cd client
npm installnpm run dev
