π½οΈ Online Food Monitoring System (C Project) π Project Overview
The Online Food Monitoring System is a menu-driven C application that simulates an online food ordering and inventory management system. It supports Admin and Customer roles using file handling for data persistence.
This project is designed for DS / C programming practicals and mini-projects.
π― Features π¨βπΌ Admin Module
Secure admin login
Add new food items
View inventory
Update / restock item quantity
Delete food items
View pending and completed orders
Automatically update inventory after order completion
View customer feedback
π€ Customer Module
View available food items
Place orders
Automatic bill calculation
Order stored as Pending
Submit feedback after ordering
ποΈ File Structure File Name Description items.txt Stores food item inventory pending.txt Stores pending customer orders completed.txt Stores completed orders feedback.txt Stores customer feedback π§± Data Structures Used struct ITEMS struct ITEMS { int id; char fruit_name[50]; float rate; int quantity; };
struct CUSTOMER struct CUSTOMER { int customer_id; char name[50]; int item_id; int quantity; };
π Admin Login Password: admin123
π οΈ Technologies Used
Language: C
Concepts:
Structures
File Handling
Functions
Menu-Driven Programming
Conditional Logic
Execute ./food
π Sample Flow
Admin adds food items
Customer places an order
Order saved as Pending
Admin completes the order
Inventory is updated automatically
Customer feedback is stored
π Limitations
No database (file-based storage only)
No password encryption
Single-user access
No GUI (console-based)
π Future Enhancements
Login system for customers
Stock availability check during order placement
Price offers and discounts
GUI using C graphics or external frameworks
Database integration
π¨βπ» Author
Piyush Rawat