Demo · Documentation · Quickstart · GitHub · Releases
Tournament system meant to be easy to use. Bracket is written in async Python (with FastAPI) and Next.js as frontend using the Mantine library.
It has the following features:
- Supports single elimination, round-robin and swiss formats.
- Build your tournament structure with multiple stages that can have multiple groups/brackets in them.
- Drag-and-drop matches to different courts or reschedule them to another start time.
- Various dashboard pages are available that can be presented to the public, customized with a logo.
- Create/update teams, and add players to teams.
- Create multiple clubs, with multiple tournaments per club.
- Swiss tournaments can be handled dynamically, with automatic scheduling of matches.
A demo is available for free at https://www.bracketapp.nl/demo. The demo lasts for 30 minutes, after which your data will de deleted.
To quickly run bracket to see how it works, clone it and run docker compose up:
git clone [email protected]:evroon/bracket.git
cd bracket
sudo docker compose up -dThis will start the backend and frontend of Bracket, as well as a postgres instance. You should now be able to view bracket at http://localhost:3000. You can log in with the following credentials:
- Username:
[email protected] - Password:
aeGhoe1ahng2Aezai0Dei6Aih6dieHoo.
To insert dummy rows into the database, run:
sudo docker exec bracket-backend pipenv run ./cli.py create-dev-dbSee also the quickstart docs.
Read the usage guide for how to organize a tournament in Bracket from start to finish.
Read the configuration docs for how to configure Bracket.
Bracket's backend is configured using .env files (prod.env for production, dev.env for development etc.).
But you can also configure Bracket using environment variables directly, for example by specifying them in the docker-compose.yml.
The frontend doesn't can be configured by environment variables as well, as well as .env files using Next.js' way of loading environment variables.
Read the deployment docs for how to deploy Bracket and run it in production.
Bracket can be run in Docker or by itself (using pipenv and yarn).
This repository includes a render.yaml blueprint to deploy the full stack (FastAPI backend, Next.js frontend, and a managed PostgreSQL database) on Render for free.
Steps:
- Push your fork to GitHub (public or private).
- Create a free account at Render and choose “New +” → “Blueprint”.
- Paste your fork’s repository URL. Render will detect
render.yamland create:- A free Postgres database (
bracket-postgres) - A backend service (
bracket-backend) using the Dockerfile inbackend/ - A frontend static site (
bracket-frontend) built fromfrontend/
- A free Postgres database (
- Click “Apply”. First build and deploy may take a few minutes.
- After deploy:
- Backend will be available at a URL like
https://bracket-backend-<hash>.onrender.com - Frontend will be available at a URL like
https://bracket-frontend-<hash>.onrender.com
- Backend will be available at a URL like
Notes:
- The backend will auto-initialize a database and create the admin user if it’s empty.
- CORS is automatically configured to allow the deployed frontend to call the backend.
- The frontend is built using
npm run exportwhich outputs a static site that performs client-side requests to the backend API.
After deployment, log in via the frontend using:
- Email:
admin@bnsports - Password:
Auv3oH3v_5kD2QmF7wE9pVwY8tZs
You can change these by updating the environment variables in Render (ADMIN_EMAIL, ADMIN_PASSWORD).
Read the development docs for how to run Bracket for development.
Prerequisites are yarn, postgresql and pipenv to run the frontend, database and backend.
Based on your browser settings, your language should be automatically detected and loaded. For now, there's no manual way of choosing a different language.
To add/refine translations, Crowdin is used. See the docs for more information.
If you're having trouble getting Bracket up and running, or have a question about usage or configuration, feel free to ask. The best place to do this is by creating a Discussion.
If you're using Bracket and would like to help support its development, that would be greatly appreciated!
Several areas that we need a bit of help with at the moment are:
- ⭐ Star Bracket on GitHub
- 🌐 Translating: Help make Bracket available to non-native English speakers by adding your language (via crowdin)
- 📣 Spread the word by sharing Bracket to help new users discover it
- 🖥️ Submit a PR to add a new feature, fix a bug, extend/update the docs or something else
See the contribution docs for more information on how to contribute
|
Erik Vroon |
Null |
BachErik |
Danny Piper |
Max Ricketts-Uy |
Sevi C |
|
Nicolas Vanheuverzwijn |
Felipe Gomes De Melo |
IzStriker |
Jon Miller |
Oscar Tobar Rios |
Raphael Le Goaller |
Bracket is licensed under AGPL-v3.0.
Please note that any contributions also fall under this license.
See LICENSE




