Wire dashboards to the API and add customer portal plus discounts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-05 15:15:16 +03:30
co-authored by Cursor
parent af11d96fd0
commit b103e330ef
73 changed files with 8720 additions and 1605 deletions
+17
View File
@@ -1 +1,18 @@
# Local DNS — add to /etc/hosts:
# 127.0.0.1 baloutpastry.com
# 127.0.0.1 admin.baloutpastry.com
# 127.0.0.1 customer.baloutpastry.com
#
# Dev URLs:
# Website: http://baloutpastry.com:5174
# Login (only): http://customer.baloutpastry.com:5173/login
# Customer: http://customer.baloutpastry.com:5173
# Admin panel: http://admin.baloutpastry.com:5173 (via «پنل ادمین» after login)
# Localhost: http://localhost:5173 (customer app / same login)
VITE_API_BASE_URL=http://localhost:3100/api/v1
VITE_ADMIN_HOST=admin.baloutpastry.com
VITE_CUSTOMER_HOST=customer.baloutpastry.com
VITE_COOKIE_DOMAIN=.baloutpastry.com
VITE_WEBSITE_URL=http://baloutpastry.com:5174
VITE_ALLOWED_RETURN_ORIGINS=http://127.0.0.1:5173,http://localhost:5173,http://127.0.0.1:5174,http://localhost:5174,http://baloutpastry.com:5173,http://baloutpastry.com:5174,http://www.baloutpastry.com:5174