# Spotify Release Timeline
## MVP Release Checklist
### Release Timeline Features
- As a user, I want to view my albums grouped by week of release
- Show 3 months by default?
- Show a specific number of albums by default?
- As a user, I want loading the page to feel better
- As a user, I want an informative blank state when I have no followed artists and/or releases
- As a user, I want a simple help page of how this works
- SPIKE: Will we always get an email for each customer that connects to Spotify
- What about users that have only used Facebook to connect to Spotify? Is it possible they haven't entered an email and therefore we won't get one from them?
- As a user, when I fail to authenticate with Spotify I want a helpful error message
- As a user, when I click on an album I want to be directed to the album in Spotify
- Open the web player in a new tab
- Could we send to the mobile app?
- As a user, I want the release timeline to have a polished UI
- As a user, I want the release timeline to look good on mobile
### Landing page
- As a user, I want a persuasive landing page that shows you what you get for syncing your Spotify account
- As a user, I want to read about how Spotify Release Timeline was made
### Production Readiness
- Set up production in Heroku
- Set up staging
- Set up SSL
- Database backups
- Set up CI
- Simple analytics - segment to ???
- Mixpanel
- Google Analytics
### GTM Plan
- Come up with a better name and logo
- Buy a domain
- ProductHunt
- Detect whether the user is coming from ProductHunt and customize the home page
- Tagline
- Topics
- Thumbnail (240x240) - logo
- 3 1270x760px images
- YouTube video of the product
- Description (max 260 chars)
- Comment from me about the product (no limit)
- Email list of people to "upvote" the product for me
- ...
- Twitter post
- Personal for now
- Time-lapse video of the entire build process from whiteboard to release?
- Spotify Community - post on relevant topics
- [New Releases Section for Followed Artists - The Spotify Community](https://community.spotify.com/t5/Live-Ideas/Discover-New-Release-Section-for-Followed-Artists/idi-p/949039?advanced=false&collapse_discussion=true&q=release%20timeline&search_type=thread)
- Google's Keyword Viewer
- "Followed artists on spotify"
- Load up my homepage with appropriate keywords
### Coding with Jess
- Market the videos well on YouTube
- Description
- Title
- Encourage comments from people who have already watched Coding With Jess videos
## Post-MVP Checklist
- As a user, I want a weekly digest email of releases from the past week
- - - -
## 1. Spike into Spotify API to see if it's EVEN possible
- [x] Connect to the Spotify API (Oauth nightmare)
- [x] Get my list of followed artists
- `GET https://api.spotify.com/v1/me/following`
- [x] Get all albums for all followed artists
- `GET https://api.spotify.com/v1/artists/{id}/albums`
- [x] Get albums released in the last week
## 2. Show it in a Rails app
- [x] Set up a new rails app
- [x] Show the albums on a simple screen
## 3. Use OAuth to allow anyone to auth with their Spotify credentials
- [x] Minimal OAuth flow, storing access token (no refresh yet)
- [x] Install VCR
- [x] Test the authenticate method
- [x] Set up Postgres
- [x] Store credentials in a database
- [x] Store credentials in session
- [ ] Support refreshes when access token expires
- [ ] Set up staging server
- [ ] Set up CI
## Other
- [ ] Pull back all followed artists
- [ ] Sort albums by release date
- [ ] Store access token properly (not in session?)
- [ ] Default header/footer to the site
- [ ] More detailed mockups
- [ ] Trello board with "features" we want to add
- [ ] Refactor the Spotify API code into a connector class