2 Commits

Author SHA1 Message Date
primal
5ecb5b5ed7 Configure dashboard for dashboard.1440.news
- docker-compose.yml: Traefik routing for dashboard.1440.news
- OAUTH_BASE_URL set to https://dashboard.1440.news
- routes.go: Updated default base URL to dashboard.1440.news
- Local dev accessible at dashboard.1440.localhost
2026-02-02 13:10:59 -05:00
primal
efb246ff1e Add routes.go and main.go - Phase 4 complete
routes.go: HTTP route registration with OAuth middleware
- Converted all handlers from (c *Crawler) to (d *Dashboard)
- Removed url.1440.news short URL handling (belongs in shortener service)
- Removed /internal/crawl endpoint (requires crawler)

main.go: Entry point for standalone dashboard service
- Uses NewDashboard with connection string from DATABASE_URL
- Starts stats update loop and HTTP server
2026-02-02 12:59:22 -05:00