/react-spotify-blog

Cosmic JS based music blog with integrated spotify player allowing user to shuffle albums.

Primary LanguageJavaScript

React Spotify Blog

React Spotify Blog Main Screen

React Spotify Blog is a simple example application showcasing how to use Cosmic JS as a simple but powerful content management system and how to incorporate 3rd-party APIs like the Spotify API. Authors can write a blog-post-like homage to a musical artist and enable a user to listen to their entire discography on Spotify, or a user can shuffle their own spotify playlists by album.

NOTE that depending on Spotify permissions Old School Shuffle may only make playlists and not auto-play Playlists may take a minute or two to show up in your My Playlist in Spotify

Live Demo

https://cosmicjs.com/apps/react-spotify-blog

Setup/ Installation Instructions

#clone repo
git clone https://github.com/cosmicjs/react-spotify-blog

# install dependencies
npm install

#configure .env variables
rename .env.sample to .env and paste your API keys for Cosmic and from spotify developer dashboard

#start development environment
npm start

#to build production files and start production server
npm run productionstart

MIT License