Artist Search
Getting Started
Prerequesites
- node 6+
- npm
- python 2.6+
Backend (max_api)
- Set up an app on Spotify and obtain credentials at https://developer.spotify.com/my-applications (you can set the redirect URI to anything)
- Export these environment variables:
- SPOTIPY_CLIENT_ID
- SPOTIPY_CLIENT_SECRET
- SPOTIPY_REDIRECT_URI
cd max_api
- Symlink the Python module with
python setup.py develop
- Run the server with
python -m max_api <your_spotify_username>
This should start a REST endpoint at http://localhost:3010
Frontend (similar-artists)
cd similar-artists
npm start
This should start the web app at http://localhost:3000