Skip to content

A simulation delivery made all in Java, via command line

Notifications You must be signed in to change notification settings

mazeor7/Delivery-Online

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ 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