Frontend Routes - Arthgallow/kumite GitHub Wiki

User Routes


/login

Login page

This page displays a login form

  • GET /login
  • POST /login

/signup

Signup page

This page displays a signup form

  • GET /signup
  • POST /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 /fighters
  • POST /fighters

/fighters/:id

Single Fighter page

This page displays information about a single fighter registered with the app.

  • GET /fighters/:id
  • POST /fighters/:id
  • GET /comments
  • POST /comments

/promoters

All Promoters Page

This page displays all fight promoters registered with the app.

  • GET /promoters
  • POST /promoters

/promoters/:id

Single Promoter Page

This page displays information about a single fight promoter registered with the app.

  • GET /promoters/:id
  • POST /promoters/:id
  • GET /comments
  • POST /comments

/locations

All Locations

This page displays all fight locations in the app.

  • GET /locations
  • POST /locations

/locations/:id

Single Location page

This page displays information about a single fight location in the app.

  • GET /promoters/:id
  • POST /promoters/:id
  • GET /comments
  • POST /comments

/spectator

All spectators Page

This page displays all fights that took place and were registered the app.

  • GET /spectator
  • POST /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/:id
  • POST /spectator/:id
  • GET /comments
  • POST /comments

/matches

All fights Page

This page displays all fights that took place and were registered on the app.

  • GET /matches
  • POST /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/:id
  • POST /matches/:id
  • GET /comments
  • POST /comments