Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 1.64 KB

README.md

File metadata and controls

67 lines (43 loc) · 1.64 KB

🚀 Command Line Delivery - Order, Relax, Enjoy!

Welcome to Command Line Delivery, your go-to solution for online food ordering without leaving your command line! 🍕🌮

🌐 Project Overview

Command Line Delivery is a cutting-edge project designed to streamline the online ordering process directly through your console. This application enables you to explore menus, place orders, and savor your meal-all within the command line environment.

🚀 Key Features

  • Menu: Effortlessly navigate through the menu and choose your favorite dishes.
  • Easy Ordering: Complete orders seamlessly with just a few commands, no hassles.

📊 Data Storage

All data, including menu items, orders, and user information, is stored in the database for a seamless and reliable experience.

💻 Installation and Usage

  1. Clone the repository:
    git clone https://github.com/matteotorna/DeliveryOnline.git
    
  2. Download MySQL:
    https://dev.mysql.com/downloads/mysql/
    
  3. Create db:
    mysql -u root -p -e "CREATE DATABASE justeat;"
    
  4. Create user for db:
    mysql -u root -p -e "CREATE USER 'justeatuser'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON justeat.* TO 'justeatuser'@'localhost';"
    
  5. Navigate to the project directory:
    cd DeliveryOnline
    
  6. Compile the application:
    javac -d bin src/com/justeat/*.java
    
  7. Run the application:
    java -cp bin com.justeat.test.Test