A modern web-based system designed for community kitchens and school canteens to reduce food waste, improve food safety, and optimize meal planning.
This project focuses on building a smart, scalable food management system that helps track food expiry and predict meal demand using attendance data.
The system ensures:
- No expired food is used
- Food waste is minimized
- Kitchen operations are more efficient
-
Add food items with expiry dates
-
Automated alerts at:
- 15 days
- 10 days
- 5 days
- 2 days
- 1 day
- Hourly alerts when close to expiry
-
Automatically moves expired items to a separate "Expired Items" section
- Daily morning check-in for students/staff
- Predicts number of meals required
- Helps reduce overcooking and food waste
- 🍱 Surplus food sharing with NGOs/community
- 🚯 Illegal dumping reporting system
- 📍 Location-based food distribution
- 📈 Analytics dashboard for food usage
Frontend:
- React.js
- Tailwind CSS
Backend:
- Node.js
- Express.js
Database:
- MongoDB
Other Tools:
- Git & GitHub
- REST APIs
- User Interface (React)
- API Layer (Express)
- Database (MongoDB)
- Notification System (Timers / Cron Jobs)
/client → Frontend (React)
/server → Backend (Node + Express)
/models → Database schemas
/routes → API routes
/controllers → Business logic
git clone https://github.com/your-username/food-safety-system.git
cd food-safety-system
cd client
npm install
cd ../server
npm install
Create a .env file in /server:
MONGO_URI=your_mongodb_connection
PORT=5000
# Start backend
cd server
npm run dev
# Start frontend
cd client
npm start
- Dashboard
- Food Inventory Page
- Expiry Alerts Panel
- Attendance Page
- Expired Items Page
Food wastage and poor hygiene management are major challenges in community kitchens and schools. This system provides a digital solution to monitor food safety and optimize resource usage.
- Reduces food waste
- Prevents consumption of expired food
- Improves kitchen efficiency
- Data-driven decision making
Contributions are welcome! Feel free to fork the repo and submit a pull request.
This project is licensed under the MIT License.
Vinanthi Manohari V Engineering Student | Aspiring Developer