This is a full-stack web application that enables users to register, login, browse restaurants, and place orders from various food outlets.
OnlineFoodApp/ ├── src/ │ └── com.project/ │ ├── model/ │ ├── DAO/ │ ├── DAOImpl/ │ └── servlet/ ├── WebContent/ │ ├── home.jsp │ ├── styles.css │ └── images/ ├── .classpath ├── .project └── .settings/
▶️ How to Run the Project Clone the Repository
bash Copy Edit git clone https://github.com/your-username/online-food-delivery-application.git Open in Eclipse
Open Eclipse IDE
Go to File → Import → Existing Projects into Workspace
Select the project folder you just cloned
Click Finish
Set Up the Database (MySQL)
Create a new database in MySQL (e.g., foodappdb)
Import the SQL script (if available) or create tables manually based on your DAO logic
Update your DB connection details in the UserDAOImpl and other DAO files
Run the Project
Right-click the project → Run As → Run on Server
Choose Apache Tomcat Server
The project will launch in your browser (e.g., http://localhost:8080/OnlineFoodApp/first)