Initial commit: Next.js rewrite of Super Bowl Squares app

Full rewrite of the legacy PHP/MySQL app using Next.js 14, PostgreSQL,
Prisma, NextAuth, Tailwind CSS, and WebSocket-based live chat/grid updates.
Deployed via Docker Compose with a custom Node.js server for WebSocket support.

Fix chat display names by passing userId from the NextAuth session over
WebSocket instead of attempting to read the HttpOnly session cookie (which
is inaccessible to JavaScript). Server now looks up the user's first name
from the database using the userId.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Philip
2026-02-17 17:34:50 -08:00
commit b4e89ea9ee
178 changed files with 12268 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{
"permissions": {
"allow": [
"Bash(npm install:*)",
"Bash(npx next build:*)",
"Bash(git init:*)",
"Bash(git add:*)",
"Bash(git rm:*)",
"Bash(docker-compose up:*)",
"Bash(docker compose:*)",
"Bash(docker version:*)",
"Bash(sudo apt-get update:*)",
"Bash(chmod:*)",
"Bash(dpkg:*)",
"Bash(docker:*)",
"Bash(curl:*)",
"Bash(ss:*)",
"Bash(echo:*)",
"Bash(iptables:*)",
"Bash(npx tsc:*)",
"Bash(npx prisma generate:*)",
"Bash(timeout 3 node:*)"
]
}
}