Welcome to the Coffee Shop Management System, a robust Streamlit web application designed to streamline and enhance coffee shop operations. This app includes features for customers and administrators, offering an intuitive interface to manage orders, inventory, promotions, analytics, and more.
The application has been deployed using Streamlit Cloud. You can access it here:
Coffee Shop Management System
- Order Coffee: Browse the menu, select your favorite coffee, and place an order.
- Order History: View a list of your past orders with details.
- Pickup Notifications: Get real-time updates on your order status.
- Feedback: Share your experience to help us improve.
- Inventory Management: Track and update coffee shop inventory.
- Sales Reporting: Access detailed sales reports and performance metrics.
- Analytics Dashboard: Gain insights into customer trends and behavior.
- Promotions & Discounts: Manage promotional campaigns and coupon codes.
- Notifications: Send updates and alerts to customers.
- About Us: Learn more about the Espresso Dev Team behind this application.
- Frontend: Streamlit
- Backend: Firebase Firestore
- Payment Gateway: Stripe
- Data Visualization: Plotly
- Image Processing: Pillow
To set up the application locally, follow these steps:
- Clone the repository:
git clone https://github.com/HengYpinn/streamlit_CoffeeApp.git cd streamlit_CoffeeApp - Set up a virtual environment:
python -m venv venv source venv/bin/activate # For macOS/Linux venv\Scripts\activate # For Windows
- Install required dependencies:
pip install -r requirements.txt
- Add your Firebase and Stripe credentials to .streamlit/secrets.toml:
[firebase] type = "service_account" project_id = "your_project_id" private_key_id = "your_private_key_id" private_key = "-----BEGIN PRIVATE KEY-----\nYOUR_PRIVATE_KEY\n-----END PRIVATE KEY-----\n" client_email = "your_client_email" client_id = "your_client_id" auth_uri = "https://accounts.google.com/o/oauth2/auth" token_uri = "https://oauth2.googleapis.com/token" auth_provider_x509_cert_url = "https://www.googleapis.com/oauth2/v1/certs" client_x509_cert_url = "your_client_x509_cert_url" [stripe] api_key = "your_stripe_secret_key"
- Run the application:
streamlit run main.py
streamlit_CoffeeApp/
├── analytics/ # Analytics dashboard logic
├── auth/ # Authentication module
├── feedback/ # Feedback submission functionality
├── firebase_init/ # Firebase initialization
├── inventory/ # Inventory management logic
├── main.py # Main entry point of the app
├── menu/ # Menu items and pricing
├── notification/ # Notification management
├── order/ # Customer order logic
├── order_history/ # Order history display
├── pickup_notification/ # Pickup notification feature
├── promotions/ # Promotions and discount management
├── sales_reporting/ # Sales reporting logic
├── utils/ # Utility functions
├── requirements.txt # Dependencies
└── .streamlit/secrets.toml # Secrets file (not for public repositories)
This project is licensed under the MIT License.