Welcome to Command Line Delivery, your go-to solution for online food ordering without leaving your command line! 🍕🌮
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.
- Menu: Effortlessly navigate through the menu and choose your favorite dishes.
- Easy Ordering: Complete orders seamlessly with just a few commands, no hassles.
All data, including menu items, orders, and user information, is stored in the database for a seamless and reliable experience.
- Clone the repository:
git clone https://github.com/matteotorna/DeliveryOnline.git
- Download MySQL:
https://dev.mysql.com/downloads/mysql/
- Create db:
mysql -u root -p -e "CREATE DATABASE justeat;"
- Create user for db:
mysql -u root -p -e "CREATE USER 'justeatuser'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON justeat.* TO 'justeatuser'@'localhost';"
- Navigate to the project directory:
cd DeliveryOnline
- Compile the application:
javac -d bin src/com/justeat/*.java
- Run the application:
java -cp bin com.justeat.test.Test