# Functions
Add matches to a tournament.
add a team to a tournament.
Adds teams to tournaments.
add a team to a tournament.
- CreateMatch.
MatchResult-related functions - CreateMatchResult.
Creates a new Team.
- Creates a new tournament.
- DeleteMatch.
- DeleteMatchResult.
Delets a team by it's ID.
- DeleteTournament.
- GetMatchByID.
Get Matches by organiserID.
- GetMatchResultByID.
Gets match results by organiser id.
Retrieves a team by id.
Get Matches by organiser id.
- GetTournamentByID.
GetAllTournaments.
Retrieves a user by their email fromthe db.
Queries DB to get a user by ID.
Get user id from context.
Logs in a user and returns a JWT token on successful login.
Logs out a user and and clears the JWT token cookie.
Register a new user and store them in the database.
- UpdateMatch.
- UpdateMatchResult.
Updates an existing team.
- UpdateTournament.
Updates the username and/or password of a user.
Updates a user document in the db.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author