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
- Host: GitHub
- URL: https://github.com/mazeor7/delivery-online
- Owner: mazeor7
- Created: 2023-07-04T08:09:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T12:05:35.000Z (almost 2 years ago)
- Last Synced: 2025-02-06T12:48:04.882Z (9 months ago)
- Topics: command-line, command-line-tool, database, delivery, delivery-service, java, mysql, mysql-database
- Language: Java
- Homepage:
- Size: 2.27 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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