Flask, Python, SQLAlchemy, HTML, CSS, Bootstrap, JavaScript, Jinja
- Mobile-friendly cafe ordering system built with a Flask/Python backend
- Customizable drink options, search filters, and business hours restrictions
- Intuitive, secure admin dashboard for managing the cafe database
- Hosted on PythonAnywhere at: https://sunrightcafe.pythonanywhere.com
(work in progress)
Required: sweetness, ice level, and milk type
Optional: toppings
Admin access to CRUD dashboard to manage Drinks, Toppings, MilkTypes, Orders, and CustomDrinks
Admin access to sample summary of Orders and CustomDrinks
- Clone this repository:
git clone https://github.com/jschhie/toast-tab-cafe.git [folderNameHere]
- Navigate into the folder:
cd [folderNameHere]
- Install the required packages:
pip3 install -r requirements.txt
- Run the Flask app:
python3 main.py
The application will automatically generate a cafe_database.db
file in the website
directory.
Access the website at: http://127.0.0.1:5000/ via any web browser.
Admin users can access the CRUD dashboard at: http://127.0.0.1:5000/admin (and http://127.0.0.1:5000/admin/test) after configuring credentials (username & password) in the __init__.py
file.