Spaces:
Sleeping
Sleeping
|
Download README.md from Sherry245/rideshare-api: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/spaces/Sherry245/rideshare-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/Sherry245/rideshare-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Sherry245/rideshare-api/resolve/main/README.md
1.07 kB
metadata
title: RideShare API
emoji: π
colorFrom: indigo
colorTo: green
sdk: docker
app_port: 8000
pinned: false
license: apache-2.0
short_description: FastAPI backend for the RideShare Android demo.
RideShare API
FastAPI backend powering the RideShare Android demo. PostgreSQL/PostGIS data lives in Supabase; this service exposes the REST + WebSocket surface the mobile app consumes.
Health check
GET /health β {"status":"ok"}
Required secrets (set in HF Space β Settings β Secrets)
| Key | Source |
|---|---|
DATABASE_URL |
Supabase Transaction Pooler URI with postgresql+asyncpg:// prefix |
SUPABASE_URL |
Supabase project URL |
SUPABASE_JWT_SECRET |
Supabase β Settings β API β JWT Settings β JWT Secret |
GOOGLE_MAPS_KEY |
Google Cloud project key with Directions API enabled |
STRIPE_SECRET_KEY |
Stripe dashboard (test mode) |
STRIPE_PUBLISHABLE_KEY |
Stripe dashboard (test mode) |
App reads them at runtime via pydantic-settings. Missing required vars will crash on boot β check the build logs.