Logo Lanfrica

NIIQUAYE1909/quickbite-food-app

Domain:

digital infrastructure

Record type:

software
Creator:
NII
Host:
A full-stack food ordering web application built for Sekondi-Takoradi, Ghana. Order local and international dishes, track delivery, and pay via Mobile Money or card # 🍽️ QuickBite β€” Online Food Ordering System A full-stack food ordering web application built with HTML/CSS/JavaScript (frontend) and Java (backend) connected to MySQL via XAMPP. Features a modern design with cart, wishlist, promo codes, checkout flow, and order tracking. --- ## πŸ“ Project Structure ``` food-ordering-system/ β”‚ β”œβ”€β”€ FRONTEND/ ← Everything the user SEES β”‚ β”œβ”€β”€ index.html ← Main page structure β”‚ β”œβ”€β”€ style.css ← All visual styling β”‚ β”œβ”€β”€ main.js ← All interactivity & logic β”‚ └── assets/ ← Images and icons β”‚ └── FRONTEND/BACKEND/ ← Server-side Java code β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ Main.java ← Entry point (run this) β”‚ β”œβ”€β”€ Server.java ← HTTP server & routing β”‚ β”œβ”€β”€ DatabaseConnection.java ← MySQL connection β”‚ β”œβ”€β”€ FoodRoutes.java ← /api/foods β”‚ β”œβ”€β”€ OrderRoutes.java ← /api/orders β”‚ └── UserRoutes.java ← /api/users β”œβ”€β”€ lib/ ← JAR files (MySQL Connector) β”œβ”€β”€ database.sql ← Run this in phpMyAdmin └── config.properties ← Database credentials ``` --- ## πŸš€ How to Set Up & Run ### Step 1 β€” Database Setup 1. Open **XAMPP Control Panel** 2. Start **Apache** and **MySQL** 3. Open browser β†’ go to `localhost` 4. Click the **SQL** tab 5. Copy & paste everything from `FRONTEND/BACKEND/database.sql` 6. Click **Go** β€” this creates your database and tables ### Step 2 β€” Download Required JAR Files Put the MySQL Connector JAR in the `FRONTEND/BACKEND/lib/` folder: - **MySQL Connector**: dev.mysql.com - Download the platform-independent ZIP, extract the `.jar` file ### Step 3 β€” Run the Frontend 1. Open the `FRONTEND/` folder in VS Code 2. Right-click `index.html` β†’ **Open with Live Server** 3. Your app opens in the browser at `localhost` ### Step 4 β€” Run the Backend In the terminal, navigate to the backend folder and compile …