SankalpGG/FoodWebPL ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python food ordering app that works in the terminal, kind of like a basic Zomato style clone but without any graphical interface.
It should let a user browse restaurants or food items, place an order, view their cart or current order, and maybe check past orders if that makes sense. Use MySQL for storing the data, and keep it menu driven so someone can just run it and choose options from the console. I want it to feel like a school project, so keep it straightforward and focused on the logic, not fancy design.
Please include the database setup needed to make it work, and connect the Python code cleanly to MySQL. If you need to look up current docs online, feel free to do that. Also make sure the whole thing runs from a main script and is easy to test from the command line.