Database Providers
Radarboard supports 4 database providers for storing settings (widget layout, project order) and API cache.Supported providers
Configuration
Via environment variable
.env.local
Via .radarboard.json
The database provider can also be configured through the Settings UI, which writes to .radarboard.json:
.radarboard.json
Via API
Use the/api/database/config endpoint to get or set the provider programmatically.
Database schema
Two tables are used:user_settings
api_cache
Provider-specific setup
Turso
.env.local
Supabase
Configure via the Settings UI or.radarboard.json with your Supabase project URL and anon key.
PlanetScale
Configure via the Settings UI or.radarboard.json with your database host, username, and password.
Testing connection
Use the/api/database/test endpoint to verify your database connection before committing to a provider.
Migration
Use the/api/database/migrate endpoint to create the required tables in your chosen provider.