page Dashboard { state user = ctx.user state dashboardMetrics = ctx.metrics apis { dashboard GET /api/dashboard { response { return data.metrics } } } load server metrics { return await api.dashboard() } seo { title = "Dashboard" } view {

Good to see you, {user.displayName || user.username}

Live figures from your private SQLite workspace.

View contacts
Pipeline value{dashboardMetrics.pipelineValue}
Open opportunities{dashboardMetrics.openOpportunities}
Total contacts{dashboardMetrics.contacts}
Server rendered

One secure data path

This page was rendered from authenticated API results on the server. No browser prefetch or client data request is needed to show these metrics.

} }