/music

Display data and export playlists from a Spotify account

Primary LanguageJavaScriptMIT LicenseMIT

Music 🎹

Display data and export playlists from a Spotify account.

Usage

Local installation

# Make sure node 16 is installed
node -v
# Clone the project
git clone git@github.com:johansatge/music.git
cd music
# Install dependencies
npm install
# Create env file with a Spotify API key (with "localhost:9898" as allowed URL)
echo "module.exports = { SPOTIFY_CLIENT_ID: 'xxx' }" > .env.js
# Run the local server (will rebuild app on changes)
npm run watch
# Navigate to http://localhost:4000/

Build and deployment

To test the build locally, run:

npm run build

Assets are built in dist.

Deployment is handled by Netlify, when pushing updates on master.