A Val Town application for managing and viewing demos with authentication.
This application uses LastLogin for authentication:
/auth/logout
(handled automatically by LastLogin)The following routes are accessible without authentication:
/api/health
- System health statusAll other routes require authentication:
/
- Main dashboard (shows user info and system status)/api/*
- API endpoints (except health)/tasks/*
- Task management routes/views/*
- View routes├── backend/
│ ├── controllers/ # Business logic controllers
│ ├── routes/ # Route definitions
│ │ ├── api/ # API endpoints
│ │ ├── tasks/ # Task-related routes
│ │ ├── views/ # User-facing views
│ │ └── authCheck.ts # Authentication middleware
│ └── services/ # External service integrations
├── frontend/ # Frontend assets
├── shared/ # Shared utilities
└── main.tsx # Application entry point
The application is built with:
Configure these environment variables for full functionality:
GLANCE_DEMOS_DB_ID
- Notion database ID for demosGLANCE_CONTENT_DB_ID
- Notion database ID for contentGLANCE_INTERACTIONS_DB_ID
- Notion database ID for interactionsNOTION_API_KEY
- Notion API key for database access