Documentation Index
Fetch the complete documentation index at: https://openwearables.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Get started in three steps
Get Open Wearables running locally and start integrating wearable device data.Step 1: Set up your environment
Clone the repository
Clone the repository
Clone the Open Wearables repository to your local machine:
Configure environment variables
Configure environment variables
Create environment files for both backend and frontend:Backend configuration:Edit Edit
./backend/config/.env with your configuration. You’ll need to set up:- Database credentials
- Redis/Celery broker settings
- OAuth credentials for wearable providers (Garmin, Fitbit, etc.)
- Secret keys for authentication
./frontend/.env with your frontend configuration:VITE_API_URL- Backend API URL (default:http://localhost:8000)
Step 2: Start the application
Using Docker (Recommended)
Using Docker (Recommended)
The easiest way to get started is with Docker Compose:For development with hot-reloading, use the The
--watch flag:--watch flag enables automatic file synchronization and service restarts:- Backend: Automatically syncs code changes and restarts services on file updates
- Frontend: Hot-reloads on source file changes
- Migrations: Restarts backend when migration files change
- Dependencies: Rebuilds containers when package files change
- PostgreSQL database
- Redis
- FastAPI backend
- Celery worker
- Celery beat (scheduler)
- Frontend development server
- 🌐 API: http://localhost:8000
- 📚 Swagger UI: http://localhost:8000/docs
- 🔐 Developer Panel: http://localhost:3000
Local development setup
Local development setup
For local development without Docker:Backend setup:
-
Install dependencies using
uv(recommended) orpip: - Set up PostgreSQL and Redis locally
-
Run database migrations:
-
Start the FastAPI server:
-
Install frontend dependencies using
npm: -
Start the frontend development server:
Step 3: Make your first API call
Test the API
Test the API
Once the application is running, you can test it:
-
Check server status:
Should return:
{"message": "Server is running!"} -
Create an API key:
An admin account is automatically created on startup using the
ADMIN_EMAILandADMIN_PASSWORDenvironment variables (defaults:admin@admin.com/your-secure-password). Use the admin panel at http://localhost:3000/ to log in and generate API keys. -
Seed sample data (optional):
If you want test users and sample activity data:
- View API documentation: Open http://localhost:8000/docs in your browser to explore the interactive Swagger UI.
-
Make requests:
Next steps
API Reference
Explore all available API endpoints.
GitHub
View source code and contribute.
Need help? Check out our GitHub Discussions or open an issue on GitHub.

