This is a backend api implementation for a beat battle website.
docker compose up
npm install
npm start
# Battles
GET /battles
POST /battles
PATCH /battles/battle_id
GET /battles/battle_id
# Brackets
GET /battles/battle_id/brackets
POST /battles/battle_id/brackets
GET /battles/battle_id/brackets/bracket_id
POST /battles/battle_id/brackets/bracket_id/matches/match_id
# Submissions
GET /battles/battle_id/submissions
POST /battles/battle_id/submissions
GET /battles/battle_id/submissions/submitter_id
POST /battles/battle_id/submissions/submitter_id/votes