Skip to content

A responsive Flask web app that simulates Toast Tab's online ordering system for cafes, featuring an admin dashboard

Notifications You must be signed in to change notification settings

jschhie/Toast-Tab-Cafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cafe Ordering System

Flask, Python, SQLAlchemy, HTML, CSS, Bootstrap, JavaScript, Jinja

Overview

  • 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

🔖 Table of Contents

Website Demo

Cafe Menu

(work in progress)

Customize Drink

Required: sweetness, ice level, and milk type

Optional: toppings

Cart

Receipt

Admin Dashboard

Admin access to CRUD dashboard to manage Drinks, Toppings, MilkTypes, Orders, and CustomDrinks

Admin access to sample summary of Orders and CustomDrinks


Running the Site Manually

  1. Clone this repository:
git clone https://github.com/jschhie/toast-tab-cafe.git [folderNameHere]
  1. Navigate into the folder:
cd [folderNameHere]
  1. Install the required packages:
pip3 install -r requirements.txt
  1. 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.