This is a Flask-based Dashboard Template designed to connect to any WooCommerce store.
- WooCommerce Integration: Connects to your store via REST API.
- Analytics: Supports Google Analytics 4 and Google Search Console.
- Responsive Design: Modern UI for managing your store.
- Deployment Ready: Configured for Render and Vercel.
To connect your own WordPress/WooCommerce store, set the following Environment Variables in your deployment platform (Render, Vercel, etc.) or a local .env file:
| Variable | Description | Default (Demo) |
|---|---|---|
WC_URL |
Your WordPress Site URL | https://mahmoudbey-oc.com |
WC_CONSUMER_KEY |
WooCommerce Consumer Key | ck_... |
WC_CONSUMER_SECRET |
WooCommerce Consumer Secret | cs_... |
ADMIN_USER |
Dashboard Login Username | admin |
ADMIN_PASS |
Dashboard Login Password | omaya2024 |
- Go to WooCommerce > Settings > Advanced > REST API.
- Click Add key.
- Give it a description (e.g., "Omaya Dashboard").
- Set Permissions to Read/Write.
- Copy the Consumer Key and Consumer Secret.
- Create a new Web Service.
- Connect your GitHub repository.
- Add the Environment Variables listed above.
- Deploy!
- Import the project.
- Add the Environment Variables in the Project Settings.
- Deploy.
- Clone the repo.
- Install dependencies:
pip install -r requirements.txt - Run:
python dashboard_app/app.py