Skip to content

feat: Demo mode#82

Merged
alex289 merged 4 commits intomainfrom
feature/demo
Apr 13, 2026
Merged

feat: Demo mode#82
alex289 merged 4 commits intomainfrom
feature/demo

Conversation

@alex289
Copy link
Copy Markdown
Member

@alex289 alex289 commented Apr 12, 2026

Type of change

  • 🐛 Bug fix
  • 🚀 New feature
  • ❓ Other (please specify)

Description

Add a demo mode:

  • Disable all POST routes except login and logout
  • Seed db with example data
  • Make db read only
  • Add tests

@alex289 alex289 requested a review from timokoessler April 12, 2026 19:36
@alex289 alex289 self-assigned this Apr 12, 2026
@alex289 alex289 added the enhancement New feature or request label Apr 12, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 12, 2026

Copy link
Copy Markdown
Member

@timokoessler timokoessler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool PR!

Comment thread backend/internal/hub/db/db.go Outdated
Comment thread backend/internal/hub/db/demo_seed.go Outdated
Comment thread backend/internal/hub/db/demo_seed.go Outdated
Comment thread backend/internal/hub/server.go Outdated
@alex289 alex289 requested a review from timokoessler April 13, 2026 13:24
@alex289 alex289 enabled auto-merge (squash) April 13, 2026 13:24
@alex289 alex289 merged commit a901e7c into main Apr 13, 2026
7 of 8 checks passed
@alex289 alex289 deleted the feature/demo branch April 13, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend enhancement New feature or request hub

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants