A simple web-based food ordering application built using Java (JSP/Servlets), JDBC, and MySQL, inspired by platforms like Swiggy or Zomato.
FoodOrderingSystem/ βββ src/ β βββ model/ β βββ dao/ β βββ servlet/ βββ web/ β βββ jsp/ β βββ css/ β βββ images/ βββ lib/ βββ sql/ (DB dump) βββ README.md βββ .gitignore βββ web.xml
```plaintext +ββββ+ +βββββββ+ +βββββ+ | User | β> | JSP / HTML Pages | <β>| Servlet | +ββββ+ +βββββββ+ +βββββ+ | DAO Layer | +βββββ+ | v +βββββ+ | MySQL DB | +βββββ+
lib folder for JDBC driversOpen Eclipse or IntelliJ.
Import it as a Dynamic Web Project or Maven Web Project.
Configure the Database
Create a MySQL database (e.g., food_ordering_db).
Run the SQL script located in the sql/ folder to create tables and sample data.
Update your DB credentials in the DBUtil.java or db.properties file:
String url = βjdbc:mysql://localhost:3306/food_ordering_dbβ; String username = βrootβ; String password = βyourpasswordβ; String password = βyourpasswordβ; Add JDBC Connector
Add mysql-connector-java-x.x.xx.jar to your lib directory or use Maven dependency if applicable.
Deploy on Tomcat
Add your project to Tomcat server in Eclipse.
Clean and build the project.
Start the Tomcat server.
Access the App http://localhost:8080/FoodOrderingSystem/







π¨βπ» Author
Shaik Mahaboob Basha
| πΌ Aspiring Full Stack Java Developer | Passionate about Web Development and Clean Code |
π« Letβs Connect!
πΌ [LinkedIn] https://www.linkedin.com/in/mahaboob-shaik-991380239
π§ Email:maheboob2002basha@gmail.com.com
π§βπ» [GitHub] https://github.com/Mahaboob-Basha-Shaik
π [Portfolio Website : https://mahaboob-basha-shaik.vercel.app/]
π Location: India
βCode is like humor. When you have to explain it, itβs bad.β βShaik Mahaboob Basha