21 lines
1.1 KiB
Markdown
21 lines
1.1 KiB
Markdown
## Oscars Pool 2025
|
|
Little nodejs + mongodb app that I hack together with ChatGPT to keep track of watched movies for an incoming Oscars Pool with some friends. App is not secure, using old html standard and is not the most responsive but does the job.
|
|
|
|
Would probably need to revamp everything, but didn't want to spend more time on it.
|
|
|
|

|
|
|
|
## Setup
|
|
### Node version
|
|
Use **Node.js LTS (18/20/22)**. Node 23+ (e.g. Node 25) is currently not supported due to a transitive dependency used by `jsonwebtoken`.
|
|
|
|
Config those in your .env file:
|
|
|
|
**DOG_NAMES=**`woof, WOOF, Woof` (for "verification")<br>
|
|
**GITHUB_OWNER=**`quoije` (for version history)<br>
|
|
**GITHUB_REPO=**`oscars-pool` (for version history)<br>
|
|
**JWT_SECRET=**`RANDOM STRING` (for authentication token)<br>
|
|
**MONGO_URI=**`mongodb+srv://USER:[email protected]/?retryWrites=true&w=majority&appName=Cluster69`<br>
|
|
**OMDB_API=**`1234567` (for movie info)
|
|
|
|
run with **node .\index.js** |