Backend Routes - slimjim49j/ViewTube GitHub Wiki
Backend Routes
HTML
GET /
``StaticPagesController#root```
API Endpoints
users
POST /api/users
- create a user
session
POST /api/session
- sign inDELETE /api/session
- sign out
channels
GET /api/channels/:title
- show a single channel's home pageGET /api/channels/:title/videos
- a channel's videos
videos
GET /api/videos/:video_id
- show a videoPOST /api/videos
- create a video