Servers App
Servers App
Servers App
The Servers App is the centralized server configuration management application for FlowState. It provides a dedicated interface for managing RxDB server connections used across all FlowState applications, including authentication, connection testing, and multi-server support.
Key Features
- Server Management: Add, edit, and delete RxDB server configurations
- Active Server Selection: Set and track the currently active server for replication
- Authentication Integration: Login flow with email verification and token management
- Connection Testing: Verify server connectivity before activating
- Multi-tenant Support: Configure domain, user, and organization IDs per server
- Status Indicators: Visual feedback for active/inactive and authenticated states
Target Users
| User Type | Primary Use Cases |
|---|---|
| Developers | Configure development and staging servers |
| System Administrators | Manage production server connections |
| End Users | Switch between servers, authenticate to sync data |
Quick Links
- Features & Capabilities - Detailed feature documentation
- Getting Started - Set up and configure the app
Getting Started
Navigation
The app provides a simple navigation structure:
- Server List (
/) - Main server management page with CRUD operations - Login (
/login/:serverName) - Server-specific authentication page
Adding Your First Server
- Click the "Add Server" button (or press
Cmd/Ctrl+N) - Default development server settings are pre-filled
- Customize the server name, URL, and database name
- Optionally test the connection
- Save to create the server configuration
- Click "Set Active" to use this server for replication
Authenticating with a Server
- Find the server in the list
- Click the "Login" button in the Auth column
- Enter your email address
- Check your email for the verification code
- Enter the code to complete authentication
- The server will show "Authenticated" status
App Identity
| Property | Value |
|---|---|
| Package | @epicdm/flowstate-app-servers |
| Base Path | /apps/servers |
| Icon | server |
| Color | #F59E0B |
Related Packages
- @epicdm/flowstate-app-framework - App container framework
- @epicdm/flowstate-rxdb - Database utilities
- @epicdm/flowstate-auth-core - Authentication services