main
GGWP Leaderboard Website
A simple website that displays the leaderboard of the GGWP match. The leaderboard can be updated by the admin using a nice control panel.
Features
-
Made using Astro with the NodeJS adapter for the endpoints
-
Admins can create various matches and update the leaderboard using the control panel
-
The leaderboard is displayed in a nice table with the player's name, score
-
The leaderboard is updated in real-time using simple server-sent events
-
The database is SQLite with a rooms table that has a
datacolumn that stores the public JSON data of the match.
Development
Install the dependencies:
bun install
Run the development server:
bun dev
Deployment
Deploy the website:
bun run build
Languages
TypeScript
78.5%
CSS
16%
Astro
4.5%
Dockerfile
0.6%
JavaScript
0.4%