Frontend Routes - Arthgallow/kumite GitHub Wiki
User Routes
/login
Login page
This page displays a login form
GET /loginPOST /login
/signup
Signup page
This page displays a signup form
GET /signupPOST /signup
/
Splash / home page
This page displays the home page
GET /
/fighters
All Fighters page
This page displays all the fighters registered with the app.
GET /fightersPOST /fighters
/fighters/:id
Single Fighter page
This page displays information about a single fighter registered with the app.
GET /fighters/:idPOST /fighters/:idGET /commentsPOST /comments
/promoters
All Promoters Page
This page displays all fight promoters registered with the app.
GET /promotersPOST /promoters
/promoters/:id
Single Promoter Page
This page displays information about a single fight promoter registered with the app.
GET /promoters/:idPOST /promoters/:idGET /commentsPOST /comments
/locations
All Locations
This page displays all fight locations in the app.
GET /locationsPOST /locations
/locations/:id
Single Location page
This page displays information about a single fight location in the app.
GET /promoters/:idPOST /promoters/:idGET /commentsPOST /comments
/spectator
All spectators Page
This page displays all fights that took place and were registered the app.
GET /spectatorPOST /spectator
/spectator/:id
Single spectator page
This page displays information about a single fight that took place and was registered with the app.
GET /spectator/:idPOST /spectator/:idGET /commentsPOST /comments
/matches
All fights Page
This page displays all fights that took place and were registered on the app.
GET /matchesPOST /matches
/matches/:id
Single Fight page
This page displays information about a single fight that took place and was registered on the app.
GET /matches/:idPOST /matches/:idGET /commentsPOST /comments