Key Features:
1. Hospital Food Manager Functionality:
Role:
Hospital Food Management Admin.
Manage patient details:
- Patient Name
- Diseases
- Allergies
- Room Number
- Bed Number
- Floor Number
- Age
- Gender
- Contact Information
- Emergency Contact
- Others (Feel Free to Add More Details)
Create food/diet charts for patients:
- Morning, Evening, and Night meal plans.
- Specify ingredients for each meal.
- Include specific instructions (e.g., "no salt," "low sugar").
Manage inner pantry:
- Input pantry details (Staff Name, Contact Info, Location).
- Assign food preparation and delivery tasks to specific pantry staff.
Track meal preparation and delivery:
- Monitor the preparation status of each meal.
- Track delivery statuses for Morning, Evening, and Night meals.
2. Inner Pantry Functionality:
Manage food preparation tasks:
- View assigned meal preparation tasks from the hospital food manager.
- Update the preparation status for individual meals.
Manage delivery personnel:
- Add delivery personnel details (Name, Contact Info, Other Details).
- Assign specific meal boxes to delivery personnel.
Track meal deliveries:
- Include details of each meal box (Patient Information, Room Number, Diet Chart Details).
- Allow delivery personnel to mark a meal box as "Delivered" via the pantry portal.
- Ensure delivery status updates are visible to the Hospital Food Manager and Pantry Staff.
3. Delivery Personnel Functionality:
Mark deliveries as completed:
- Login to the pantry portal.
- View assigned meal boxes with patient and delivery details.
- Mark deliveries as "Done" upon successful delivery to patient rooms.
- Include timestamps and optional delivery notes.
4. Dashboards:
Hospital Food Manager Dashboard:
- Track all food deliveries.
- View patient details and diet charts.
- Monitor pantry performance and meal delivery statuses.
- Receive alerts for delayed deliveries or issues in preparation.
Inner Pantry Dashboard:
- Monitor all meal preparation and delivery tasks.
- Manage delivery personnel and assigned meal boxes.
- View delivery statuses and real-time updates.
Requirements:
Backend:
1. API Development:
Develop RESTful APIs for:
- Implement authentication (JWT or OAuth).
- CRUD operations for managing patient details.
- CRUD operations for managing food/diet charts.
- Assigning tasks to the inner pantry.
- Marking deliveries as complete.
2. Database:
Design a database structure to store the following:
- Patient details.
- Food/diet chart details.
- Delivery details and statuses.
- Pantry staff and delivery personnel details.
Frontend:
Create dashboards for:
- Hospital Food Manager.
- Inner Pantry Staff.
Ensure a responsive and user-friendly design.
Implement forms for:
- Adding/Editing patient details.
- Creating and assigning food/diet charts.
Deployment:
- Deploy the application on a free platform (e.g., Vercel, Render, Railway).
- Share the GitHub repository link and the deployed app link.
Bonus (Optional):
- Use Typescript and good coding practices
- Include basic analytics (e.g., number of meals delivered per day).
Technologies to Use:
Backend:
Preferred: NestJS, Prisma, and PostgreSQL/MongoDB
Other: Node.js, Express.js. Frontend:
Preferred: React.js, Next.js, or Vite.js
Other: Material UI, Tailwind CSSAssignment Delivery:
Codebase
- Upload the complete project to a public GitHub repository.
Deployment
- Deploy the application using a free platform (e.g., Vercel, Render).
Submission
- Share the GitHub repository link.
- Share the live deployed application link.
Credentials for Testing: (Mandatory)
To simplify testing, all roles will use below email and password credentials below.
Email: hospital_manager@xyz.com
Email: hospital_pantry@xyz.com
Email: hospital_delivery@xyz.com
Password: Password@2025These credentials should be used for the Hospital Food Manager, Inner Pantry Staff, and Delivery Personnel roles.
How to Deliver Your Assignment:
Once you have completed your assignment, please share the GitHub repository link and the deployment link via the Internshala platform. Use the "Submit Assignment" option available on the platform to submit your response.
Additionally, you may provide an explanatory video demonstrating the functionality of your assignment in brief. While this is optional, it can help explain your work more effectively.
Contact Information
For any concerns or questions, you can reach out via email at hr@heliverse.com.
Note: This is a test assignment, and the purpose is to assess your ability to create a full-stack web application using the specified tech stack and requirements.
Good luck! Feel free to add innovative ideas or features to make your project stand out!