Skip to content

Display data and export playlists from a Spotify account

License

Notifications You must be signed in to change notification settings

johansatge/music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.