Routes - sheriffhoodie/bandom GitHub Wiki
Frontend Routes
- / - homepage, signup(modal)
- /:username/feed - feed from followed fans and artists
- /:username - user profile
- /:username/track/:track_title - track show
- /:username/album/:album_title - album show
- /:username/:album_title - update a track
API Endpoints
users/artists
- GET /api/users - returns the user information for the User Search feature
- POST /api/users - sign up
- SHOW /api/users/:id - user/artist show page with info about artist
tracks
- GET /api/tracks - returns relevant tracks (filtered by data/params)
- GET /api/tracks/:id - returns track
- POST /api/tracks - creates a track
- PATCH /api/tracks/:id - edit a track
- DELETE /api/tracks/:id - remove a track
albums
- GET /api/albums - returns relevant albums (filtered by data/params)
- GET /api/albums/:id - returns album
- POST /api/albums - creates a album
- PATCH /api/albums/:id - edit a album
- DELETE /api/albums/:id - remove a album
follows
- POST /api/follows - follow a user
- DELETE /api/follows - unfollow a user