Overview
Moodie-Foodie answers the oldest question on campus: “what should I eat?” It is a mobile-first web app for the IIITDM Kurnool community that turns your mood, diet and budget into one clear suggestion from the canteens or the day’s mess schedule.
It runs entirely in the browser, with no server, so it opens instantly on a phone.
Problem and aim
Problem
Students waste time scrolling through several canteen menus and the mess timetable, often on a tight budget, before settling on something they did not really want.
Aim
Turn “what to eat?” into a quick, budget-aware decision that fits how you feel.
How it works
01 / 05
Your mood
Pick a mood (for example “Heavy” or something light), choose Veg, Non-veg or Both, and optionally set a price range or type a dish name.
02 / 05
Smart defaults
If you leave the price empty, the app sets a sensible budget for that mood (for a heavy meal, roughly ₹50 to ₹150) so you always get results.
03 / 05
Filter
suggestFood() filters every canteen item and today’s mess menu by mood, diet and budget. If you typed a dish, price limits are ignored so you can find it anywhere.
04 / 05
Rank by value
Substantial meals are preferred over snacks, and among them the cheapest one that matches your mood wins.
05 / 05
Two picks for “Both”
Choose Both and you get the best-value vegetarian and the best-value non-vegetarian option side by side, so neither is favoured.
Architecture
APage code/index.html
- Input panelMood, Veg / Non-veg / Both, price range, dish name.
- Result cardsBest picks, canteen call buttons, today’s mess menu.
BLogic code/logic.js
- suggestFood()Validates input, filters, ranks and picks.
- Price inferenceDefault budget per mood when none is given.
- Mess menuFinds the current meal from the day and time.
CData code/data.js
- Canteen itemsName, price, veg or non-veg, canteen.
- Mess menuBreakfast, lunch, snacks, dinner for each day.
- Canteen phonesTap-to-call links.
Request flow
- The page loads the menu data and the logic as plain script files. There is no server.
- You press “Get smart suggestions”. The inputs are read and checked.
- If you typed a dish, price limits are switched off; otherwise a sensible budget is filled in.
- Items are filtered, substantial meals are preferred, and the cheapest match for your mood is shown.
Languages and code
- JavaScript63.5%
- HTML36.5%
Repository
code/The app itself.
- Every canteen item with its price and type, the full weekly mess menu and canteen phone numbers. 117 lines
- Layout and styling (Tailwind CSS), the input form and the result area. 322 lines
- The recommendation engine: price ranges, substantial-meal detection, food cards,
suggestFood(), current-meal detection and the mess menu view. 424 lines
- 11 lines
- 21 lines
- 50 lines
- The decision flow written as a diagram: inputs → validation → dish override or price check → filter → rank → show. 35 lines
- assets/The IIITDM Kurnool logo. on GitHub
Methodology
- Collect the canteen menus and the mess schedule into one dataset (
data.js). - Write the recommendation as clear, explainable rules rather than a black box.
- Design mobile-first, because students decide on their phones.
- Ship as a static single-page app so it loads instantly and costs nothing to host.
Technology
Demo
Concepts
01What is a rule-based recommender?
A system that suggests items using explicit rules (filter by diet, then by budget, then prefer full meals) instead of a trained model. It is fast, predictable and easy to explain, which suits a small, well-understood menu.
02Why infer a default budget?
Empty filters often return nothing useful. A sensible default per mood means the user always sees a result, without having to fill in every field.
03What does “mobile-first” mean?
You design for the smallest screen first and add layout for bigger screens later. The result works well where most people actually use it.
Team
- Sujal NegiCo-founder, Nexara9PortfolioLinkedIn
- Aryan SinghTeam member
- Ashu KumarTeam member