Spaces:
Sleeping
Sleeping
|
Download README.md from hashir-qt/keyvault-api: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/spaces/hashir-qt/keyvault-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/hashir-qt/keyvault-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/hashir-qt/keyvault-api/resolve/main/README.md
1.07 kB
metadata
title: KeyVault Marketplace API
emoji: π
colorFrom: purple
colorTo: blue
sdk: docker
app_port: 7860
pinned: false
KeyVault Digital Marketplace β Backend API
FastAPI backend for the KeyVault multi-vendor digital goods marketplace.
Endpoints
GET /healthβ health checkGET /docsβ interactive Swagger UI/api/v1/auth/*β register, login, me/api/v1/products/*β product catalog/api/v1/store/*β storefront (browse, categories)/api/v1/orders/*β order management/api/v1/seller/*β seller dashboard/api/v1/admin/*β admin panel
Environment Variables (set as Space Secrets)
| Variable | Description |
|---|---|
DATABASE_URL |
PostgreSQL connection string (postgresql+asyncpg://...) |
JWT_SECRET |
Secret key for JWT signing |
JWT_ALGORITHM |
HS256 |
JWT_EXPIRY_HOURS |
24 |
ENCRYPTION_KEY |
32-char key for product key encryption |
ALLOWED_ORIGINS |
Comma-separated list of allowed frontend URLs |
APP_ENV |
production |
DEBUG |
false |