You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
819 B
Markdown

# 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](https://astro.build/) 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 `data` column that stores the public JSON
data of the match.
## Development
Install the dependencies:
```bash
bun install
```
Run the development server:
```bash
bun dev
```
## Deployment
Deploy the website:
```bash
bun run build
```