An open API service indexing awesome lists of open source software.

https://github.com/mazeor7/delivery-online

A simulation delivery made all in Java, via command line
https://github.com/mazeor7/delivery-online

command-line command-line-tool database delivery delivery-service java mysql mysql-database

Last synced: 7 months ago
JSON representation

A simulation delivery made all in Java, via command line

Awesome Lists containing this project

README

          

# 🚀 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:**
```sh
git clone https://github.com/matteotorna/DeliveryOnline.git

2. **Download MySQL:**
```sh
https://dev.mysql.com/downloads/mysql/

3. **Create db:**
```sh
mysql -u root -p -e "CREATE DATABASE justeat;"

4. **Create user for db:**
```sh
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:**
```sh
cd DeliveryOnline

6. **Compile the application:**
```sh
javac -d bin src/com/justeat/*.java

7. **Run the application:**
```sh
java -cp bin com.justeat.test.Test