The đ˝ď¸ Sprig is a desktop application built using Python and PyQt6 that allows users to browse restaurants, view menus, and place orders for food delivery. The application features a user-friendly interface and provides a seamless experience for customers to order food from their favorite restaurants.
- User Authentication: Users can log in to access the app.
- Restaurant Browsing: Users can view a list of available restaurants.
- Menu Viewing: Users can view the menu of each restaurant.
- Cart Management: Users can add items to their cart, update quantities, and remove items.
- Checkout Process: Users can confirm their orders and provide delivery details.
- Order History: Orders are saved in a SQLite database for future reference.
- Python: The programming language used for the application.
- PyQt6: A set of Python bindings for the Qt libraries, used for creating the GUI.
- SQLite: A lightweight database used to store order information.
- JSON: Used for loading restaurant data from a JSON file.
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Install the required packages:
pip install PyQt6
-
Ensure you have a
restaurants.json
file in the specified path:YOUR_PATH\restaurants.json
-
Run the application:
python main.py
-
Log in using the provided credentials.
-
Browse through the list of restaurants and view their menus.
-
Add items to your cart and proceed to checkout.
-
Fill in your delivery details and confirm your order.
The application uses SQLite to store order information. The database file orders.db
will be created in the same directory as the application if it does not already exist.
Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the PyQt community for their excellent documentation and support.
- Special thanks to the contributors of the libraries used in this project.