Skip to content

Piyush-Rwt/online_food_monitoring-_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍽️ 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

⚠️ Password is hardcoded for simplicity (academic purpose).

πŸ› οΈ Technologies Used

Language: C

Concepts:

Structures

File Handling

Functions

Menu-Driven Programming

Conditional Logic

▢️ How to Run Compile gcc online_food_monitoring.c -o food

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

About

ONLINE FOOD MONITORING SYSTEM IN C LANGUAGE ONLY

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages