The Legacy Senior Communities is committed to providing a clean environment to all residents and guests. To achieve this goal, housekeeping checkups are performed. Currently, the process is completely manual, and no data is saved.
This Housekeeping Quality Control Web App aims to convert manual, paper-based processes into an automated, digital experience to significantly increase the efficiency, accuracy, and organization of housekeeping QC processes at The Legacy’s Midtown Park community in North Dallas.
- User login
1.1. Authentication process (Auth0) 1.2. Sign-up to create new Accounts 1.3. Log-in to Login to main dashboard
- System overview
- User management
2.1. View Performance Insights of members (TODO) 2.2. View Completed/Remaining inspections (TODO)
- Create team members
- Edit team members
2.1. Update profile information
2.2. Delete a Member - View team member details
3.1. Search for Team members
3.2. View Details like name, phone number, email
- Display performance metrics of individual team members
- Generate Graphs
2.1. Calculate Average score based on completed inspection tasks
2.2. Print performance data
- Create inspection reports 1.1. Assign team members 1.2. Assign members to a room (floor and building) 1.3. Select dat of inspection using calendar
- Comprehensive checklist
2.1. inspection items based on criteria (General, Bathroom, Dusting, other)
2.2. Deep/Normal cleaning options
2.3. Comments on Inspection 2.4. Extra score (negatove or positve) 2.5. Image upload and retrieval through AWS 2.6 Remove items from checklist if needed - Scoring system
3.1. Point deduction mechanism
3.2. Weighted scoring
- Automatic building population (from .csv)
- Building management
2.1. Edit building details
2.2. Delete buildings
2.3. Create new buildings manually - Room management
3.1. Create rooms
3.2. Edit room details 3.3. Delete room
- Image management
1.1. AWS upload system 1.2. Image retrieval - System performance
2.1. Consistent loading bar
2.2. Responsiveness
- Graph generation
1.1. Performance analysis 1.2. Printing the Performance report
- Design specifications
1.1. Color scheme
1.2. Navigation consistency - Building Filtering options (for searching)
2.1. Common area filters
2.2. Personal room filters
- Team communication
1.1. Messaging system
1.2. Notification mechanisms - Reporting tools
2.1. Inspection report sharing
2.2. Performance report distribution
- Auth0 provides robust user authentication and authorization services.
- It integrates seamlessly to manage user login, sign-up, and logout processes.
- Auth0 secures API routes by ensuring that only authenticated users can access protected endpoints.
App will most likey be deployed on AWS, on the project partner side.
- Install Node.js on your machine
- Download and install MySQL Workbench and set up a new connection to a server local to your machine. Initialize a new database on this server using SQL syntax.
- Clone the Github Repo to your local machine.
git clone https://github.com/UTDallasEPICS/Legacy-Housekeeping-QC.git
- Create a .env file in the root directory of the local rep that contains the following information:
Use the following command to generate a base64 secret for the NEXTAUTH_SECRET field.
DATABASE_URL="mysql://user:password@host:port/DATABASE" NEXT_PUBLIC_PRISMA_URL="mysql://user:password@host:port/DATABASE" NEXTAUTH_URL="http://host:port" NEXTAUTH_SECRET="base64secret"
openssl rand -base64 32
- Install necessary project dependencies from the root directory.
npm install
- Migrate the Prisma scheme contained in the repo to your database. Use the same command upon any changes to the schema to update your local database.
npx prisma migrate dev
- Run the local development server.
npm run dev
- Open http://localhost:3000 to view the web app