A project built to recreate the card game Golf, (6 card rules) online. The backend is written in Go, accessing a PostgreSQL database, and serving a Next.js frontend. The project also uses Cloudflare Turnstile as a CAPTCHA replacement, and Resend for automated emails.
- Create & populate both
.envfiles (one at the root, one infrontend) - Ensure PostgreSQL is installed, and create a user named
golferwith 'Log In' permission - Build the database: Run the script found in
./ddl/createTables.sql - Build the frontend:
cd frontend, thennpm run build - Run the Go project:
go run .
- Cloudflare Turnstile
- Registration Welcome Email
- Frontend Mobile Compatibility
- Built-in Game Tutorial
- Password Reset
- Optional Game Rules
- Player Statistics