feat: Manage app version from admin panel

Removes GitHub dependency for app version display.

Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
Cursor Agent
2025-12-21 22:15:15 +00:00
co-authored by mathieumoran1
parent ad211b11bb
commit f5bd8709a0
5 changed files with 648 additions and 84 deletions
+1 -3
View File
@@ -15,7 +15,7 @@ Little nodejs + mongodb app that I hack together with ChatGPT and Cursor to keep
- Resume playback: per-user playback progress saving (time/duration)
- Global settings: active Oscar year, “completion” modal content for checklist
- Password flows: admin temp password reset + forced change on next login
- Version endpoint backed by latest GitHub commit (cached)
- App version display (footer) managed from Admin panel (no GitHub dependency)
## Setup
Create a `.env` file at the project root (same folder as `package.json`).
@@ -37,8 +37,6 @@ JWT_SECRET=replace-with-a-random-string # JWT signing secret (auth)
# optional
DOG_NAMES=woof,WOOF,Woof # simple registration "verification"
OMDB_API=your_omdb_key # OMDb API key (movie info)
GITHUB_OWNER=quoije # version history
GITHUB_REPO=oscars-pool # version history
```
Generate a good `JWT_SECRET`: