--- title: AtriumChain API emoji: 🏠 colorFrom: blue colorTo: purple sdk: docker app_port: 7860 pinned: false --- # AtriumChain Backend API Real Estate Tokenization Platform API built with FastAPI and XRP Ledger. ## Features - User authentication with JWT - Property tokenization on XRP Ledger - Portfolio management - KYC verification - Admin dashboard APIs ## API Documentation Once deployed, access the API docs at: - Swagger UI: `/docs` - ReDoc: `/redoc` ## Environment Variables Configure these secrets in your Hugging Face Space settings: | Variable | Description | |----------|-------------| | `SECRET_KEY` | JWT secret key (min 32 chars) | | `MONGODB_URI` | MongoDB Atlas connection string | | `MONGODB_DB_NAME` | Database name | | `ENVIRONMENT` | `production` | | `DEBUG_MODE` | `false` | ## Health Check - `GET /` - API status - `GET /health` - Detailed health check