Spaces:
Running
Running
|
Download README.md from miss-clean-spa/api: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/spaces/miss-clean-spa/api/resolve/main/README.md
- Command line
-
hf download hf://spaces/miss-clean-spa/api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/miss-clean-spa/api/resolve/main/README.md
1.08 kB
| title: Miss Clean Spa API | |
| emoji: 🧹 | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| license: mit | |
| # Miss Clean Spa API | |
| PocketBase backend for Miss Clean Spa mobile application. | |
| ## Environment Variables (set via HF Secrets) | |
| | Variable | Description | | |
| |----------|-------------| | |
| | `POCKETBASE_ENCRYPTION_KEY` | PocketBase encryption key (required) | | |
| | `REDIS_ADDR` | Redis address (default: localhost:6379) | | |
| | `REDIS_PASSWORD` | Redis password | | |
| | `SMTP_HOST` | SMTP server host | | |
| | `SMTP_PORT` | SMTP server port | | |
| | `SMTP_USERNAME` | SMTP username | | |
| | `SMTP_PASSWORD` | SMTP password | | |
| ## API Endpoints | |
| - `/api/health` - Health check | |
| - `/api/*` - PocketBase REST API | |
| - `/auth/phone-login` - Staff/back-office phone login | |
| - `/cust/auth/phone-login` - Customer phone login | |
| - `/cust/checkout` - Customer checkout | |
| - `/cust/order-list` - Customer order list | |
| - `/order-status` - Update order status | |
| - `/order-list` - Staff order list | |
| - `/dashboard/*` - Dashboard analytics | |
| - `/chatbot/*` - Chatbot service | |
| - `/chatbot/ws` - Chatbot WebSocket | |