A web-based application developed using Go and HTMX. Players can engage in real-time trivia competitions with other players.
- User Authentication
- Score
- Modify timer and number of questions
- Choose categories
- Monitoring
- Leaderboards
- Power-ups
Check out the live demo Here. note that since this demo is hosted on a free version, it may take some time to start up initially.
- Go
- net/http
- gorilla/websocket
- Htmx
- Prometheus
To run the application using the provided Makefile, you can follow these steps:
-
Ensure all prerequisites are met, including Go, Tailwind, Templ, and Air.
-
Make sure you have a
.envfile containing the necessary environment variables:
DB_URL= Database URL.
PORT= Port number.
LOG_LEVEL=debug||info||warn||error
ENV=dev||prodTo run the application using Docker, you can follow these steps:
-
Navigate to the main directory.
-
Use the following command to build and start the containers:
docker compose up --build



