Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1011 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 1011 Bytes

jamerator

A random album/playlist selector for Spotify. View the deployed version.

jamerator is a testing ground to use React and related technologies in a fun side project. It was bootstrapped with Create React App.

Usage

  1. Create a Spotify app and obtain a Spotify Client ID.

  2. Add the following redirect URLs. If you're going to deploy the app, do add URIs for your app’s domain as well.

    http://localhost:3000/callback
    http://localhost:3000/callback?redirect=album
    http://localhost:3000/callback?redirect=playlist
    http://localhost:3000/callback?redirect=recent
    
  3. Install dependencies:

    npm i
  4. Start up a dev server using:

    REACT_APP_SPOTIFY_CLIENT="CLIENT_ID" npm start
  5. For deployments, build a static version using:

    REACT_APP_SPOTIFY_CLIENT="CLIENT_ID" npm build