Welcome to the joshgervais-256A02 repository, the home of a rudimentary pizza delivery service web application developed with Flask. This application supports creating, reading, updating, and deleting pizza orders.
Before running the application, ensure you have Python installed on your system. Then, follow these steps to get started:
-
Clone this repository:
git clone https://github.com/joshgervais/joshgervais-256A02.git -
Navigate to the repository folder:
cd joshgervais-256A02 -
Install the required Python packages:
pip install -r requirements.txt
To run the server, execute the following command:
flask run --host=0.0.0.0 --port=8888
The server will start on port 8888, and you can access the web interface by visiting http://localhost:8888 in your web browser.
- User login and session management.
- Form for placing new pizza orders.
- List all orders, with the most recent ones at the top.
- Update and delete existing orders.
- Validation of user input using WTForms.
data/: Contains JSON files likepizzaorders.jsonfor storing pizza order data.static/: Stores static files such as CSS stylesheets.templates/: Contains HTML templates for rendering views.
After starting the server, you can:
- Log in or create an account.
- Place a new pizza order.
- View all pizza orders.
- Select an order to update or delete it.
No License
- Flask, a micro web framework written in Python.
- WTForms for form handling.
- The developers and contributors of the Python language.
- ChatGPT for the tireless support.