api_routes - Arthgallow/kumite GitHub Wiki
API Routes
This app uses the following API routes to dynamically update the page to create a uninterrupted page flow feel with interactive user interface for specific features.
Home
- A logged in user can view information about fights that are coming up links to fighters they follow.
- Routes:
GET /api/
- Routes:
Users
- A logged in user can see all users registered on the app.
- Routes:
GET /api/usersPOST /api/usersPUT /api/usersDELETE /api/users
- Routes:
Individual Users
- A logged in user can see single users registered on the app.
- Routes:
GET /api/users/:idPOST /api/users/:idPUT /api/users/:idDELETE /api/users/:id
- Routes:
Locations
- A logged in user can create, edit, and delete locations.
- Routes
GET /api/locationsPOST /api/locationsPUT /api/locationsDELETE /api/locations
- Routes
Individual Locations
- A logged in user can create, edit, and delete locations.
- Routes
GET /api/locationsPOST /api/locationsPUT /api/locationsDELETE /api/locations
- Routes
Comments
- A logged in user can create, edit, and delete comments.
- Routes
GET /api/commentsPOST /api/commentsPUT /api/commentsDELETE /api/comments
- Routes
Matches
- A logged in user can create, edit, and delete Matches.
- Routes
GET /api/matchesPOST /api/matchesPUT /api/matchesDELETE /api/matches
- Routes
Individual Matches
- A logged in user can create, edit, and delete Matches.
- Routes
GET /api/matches/:idPOST /api/matches/:idPUT /api/matches/:idDELETE /api/matches/:id
- Routes
Follows
- A logged in user can follow or unfollow someone.
- Routes
GET /api/followsPOST /api/followsDELETE /api/follows
- Routes