Internal operations
Dashboard
Notion setup
Portal is hosted. Live Notion sync needs one more connection.
Create a Notion internal integration, share the Starry databases with it, then add the token as a Cloudflare Pages secret.
Today
Due soon
Lesson reporting
Templates and generated reports
Add report record
Templates
Reports
Add lesson
Add reminder
Shared admin work
Todo board
Cloudflare bindings
Runtime configuration
Connected to the private Starry Notion workspace
Cloudflare Pages is serving this portal on learnsmarthk.com, and the browser talks only to server-side `/api/*` routes. The Notion token stays in Cloudflare and local `.env`, never in frontend code.
NOTION_TOKENCloudflare secret
NOTION_REPORTS_DB_IDReports database
NOTION_TEMPLATES_DB_IDTemplates database
NOTION_LESSONS_DB_IDLessons database
NOTION_TODOS_DB_IDTodos database
NOTION_REMINDERS_DB_IDReminders database
Set these in Cloudflare Pages project settings. The browser only calls this site's `/api/*` routes, so the Notion token stays server-side.