Spaces:
Sleeping
Sleeping
|
Download README.md from Shurem/Better-Auth: direct link, hf CLI and curl.
- Browser
- Download file 734 Bytes
-
https://huggingface.co/spaces/Shurem/Better-Auth/resolve/main/README.md
- Command line
-
hf download hf://spaces/Shurem/Better-Auth/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Shurem/Better-Auth/resolve/main/README.md
734 Bytes
metadata
title: Auth Service
emoji: 🔐
colorFrom: purple
colorTo: indigo
sdk: docker
pinned: false
app_port: 7860
Auth Service
Authentication service for Physical AI & Humanoid Robotics Textbook using Better-Auth.
Endpoints
GET /- Service infoGET /api/health- Health checkPOST /api/auth/sign-up/email- Sign upPOST /api/auth/sign-in/email- Sign inPOST /api/auth/sign-out- Sign outGET /api/auth/session- Get sessionGET /api/profile- Get user profilePUT /api/profile- Update user profile
Environment Variables
Set these in HF Spaces secrets:
DATABASE_URL- Neon Postgres connection stringBETTER_AUTH_SECRET- Auth secret keyFRONTEND_URL- Frontend URL for CORS