Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joseabrantesjr/flask_ordering_system
The system is a web application developed with Flask, in Python. The system allows users to view the cafeteria menu, select products by code and add to the order.
https://github.com/joseabrantesjr/flask_ordering_system
Last synced: 25 days ago
JSON representation
The system is a web application developed with Flask, in Python. The system allows users to view the cafeteria menu, select products by code and add to the order.
- Host: GitHub
- URL: https://github.com/joseabrantesjr/flask_ordering_system
- Owner: joseabrantesjr
- Created: 2023-06-20T23:02:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-05T00:48:04.000Z (over 1 year ago)
- Last Synced: 2024-11-28T00:14:30.451Z (25 days ago)
- Language: HTML
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cafeteria System
A web system developed with Flask in Python that allows users to view the cafeteria menu, select products by code and add to the order.
## Requirements
Make sure you have the following requirements installed in your development environment:
- Python 3.x
- Flask (instalável via `pip install flask`)# Installation
1. Clone the repository to your local environment:
`git clone https://github.com/joseabrantesjr/PedidosLanchonete.git`
2. Access the project directory:
`cd PedidosLanchonete`3. Create a virtual environment (optional but recommended) and activate it:
`python3 -m venv venv`
`source venv/bin/activate`4. Install the project's dependencies:
`pip install -r requirements.txt`5. Configure the environment variables:
Create an .env file in the project's root directory
Define the following variables in the .env file:`FLASK_APP=app.py`
`FLASK_ENV=development`
6. Run the application:
`flask run`7. Access the application in your web browser at the following address:
`http://localhost:5000`To use
When accessing the application, you will see the cafeteria menu with the available products and their respective codes.
Enter the desired product code in the selection box and click "Add to Order" to add the product to the current order.
The order will be displayed below the menu, showing the selected products and the total amount to be paid.
ContributionContributions are welcome! If you would like to contribute to this project, please follow the contribution guidelines and submit a request to receive it. To report issues or make suggestions, open an issue.