Overview
The Developer Portal is a comprehensive web-based dashboard that allows you to manage your Open Wearables integration without writing code. Access user data, monitor connections, manage API credentials, and configure provider settings all from a single interface.The portal is automatically available at
http://localhost:3000 when running Open Wearables with Docker Compose.Getting Started
Initial Login
An admin account is automatically created on first startup using environment variables:You can customize these credentials in your
backend/config/.env file before starting the application.Access Points
Once running, the portal provides these entry points:Dashboard
View statistics, recent users, and data metrics
Users
Manage users and view detailed health data
Settings
Configure API keys, providers, and team access
API Docs
Interactive Swagger documentation
Dashboard Overview
The dashboard provides at-a-glance insights into your platform usage:Key Metrics
- Total Users: Current number of registered users
- Active Connections: Number of active provider connections
- Data Points: Total health data records synced
- Recent Activity: Latest user registrations and data syncs
Data Metrics Section
Explore your platform’s data distribution:- Top Series Types: Most frequently synced health data types (heart rate, steps, sleep, etc.)
- Popular Workout Types: Most common workout activities from connected devices
Recent Users
View the latest user registrations with:- User names and email addresses
- Registration dates
- Connected provider status
- Quick navigation to user detail pages
User Management
Creating Users
You can add users through multiple methods:- Developer Portal
- API
- Navigate to the Users section
- Click Add User
- Fill in user details:
- Email address (required)
- First and last name (optional)
- Click Create User
User Detail View
Click any user to see comprehensive information:Profile Section
Profile Section
- Full name and email
- Registration date
- User ID for API integration
- Edit profile dialog
- Connected provider badges
Body Metrics
Body Metrics
- Weight tracking over time
- BMI calculations
- Body fat percentage
- Period toggles (7/30/90 days)
- Visual charts with trend lines
Activity Data
Activity Data
- Daily step counts
- Active minutes
- Calories burned
- Distance traveled
- Interactive chart selection
Sleep Analysis
Sleep Analysis
- Sleep duration and quality
- Sleep stages (deep, light, REM)
- Sleep sessions timeline
- Weekly patterns
Workout History
Workout History
- Complete workout list with pagination
- Workout type and duration
- Heart rate time series
- Source provider badge
- Detailed metrics per workout
Provider Connections
Provider Connections
- Connection status for each provider
- Last sync timestamp
- Manual sync trigger
- Disconnect option
Users Table Features
- Search: Filter users by name or email
- Sorting: Sort by name, email, or registration date
- Pagination: Navigate through large user lists
- Bulk Actions: Select multiple users for operations
- Quick Actions: Edit, view details, or delete users
Settings
The Settings section provides configuration options across multiple tabs:Credentials Tab
Manage API authentication:
Key Management Features:
- View all active API keys
- Toggle key visibility (masked by default)
- Copy keys to clipboard
- Delete revoked keys
- See creation timestamps
Providers Tab
Configure OAuth provider availability:- Enable/disable individual providers
- View provider status (cloud vs SDK-based)
- Save changes to apply immediately
- Provider icons and display names
Only enabled providers will appear in the connection widget and OAuth flows for end users.
Priorities Tab
Set data source priorities when multiple providers supply the same metric:- Drag and drop to reorder providers
- Higher priority sources override lower ones
- Applies to overlapping time ranges
- Per-metric configuration (heart rate, steps, etc.)
Team Tab
Manage developer access to the portal:- Invite team members via email
- Assign roles (Admin, Developer, Viewer)
- Revoke access when needed
- View active sessions
Technical Implementation
The portal is built with modern web technologies:Authentication Flow
The portal uses JWT-based authentication:- User logs in with email/password
- Backend issues JWT access token
- Token stored in browser
localStorage - All API requests include
Authorizationheader - Token expires after configured duration
- Automatic redirect to login on 401 responses
Protected Routes
All authenticated pages use route guards:Mobile Access
The developer portal is fully responsive and works on mobile devices:- Touch-optimized navigation
- Adaptive layouts for small screens
- Mobile-friendly charts and tables
- Gesture support for swipe actions
Performance Optimizations
Data Caching
TanStack Query caches API responses to minimize network requests
Lazy Loading
Components load on-demand for faster initial page loads
Optimistic Updates
UI updates immediately while API calls process in background
Virtual Scrolling
Large tables render only visible rows for smooth scrolling
Next Steps
Unified API
Learn how to access user data programmatically
OAuth Flow
Set up provider connections for your users
