Give this little app your favorite song and you'll get information about it as well as a list of similar songs.
git clone- Replace your API Keys in the
server.jsfile located insrc(see https://github.com/ngarnier/songalike#services-used) npm install && npm run postinstall && npm start- The app is running on
localhost:3030or theportset by your environment.
All credentials are stored as environment variables, don't forget to store yours before running the app.
- Spotify: Used to provide the song analysis and features.
SPOTIFY_ID: your Spotify API Client IDSPOTIFY_SECRET: your Spotify API Client Secret Key
- Last.fm: Used to provide the list of similar songs.
LASTFM_ID: your Last.fm API ID
- Genius: Used to provide lyrics.
GENIUS_TOKEN: your Genius API token
srcfolderserver.js: The server of the app, built in Node.js and ES6. It is built with Babel with thenpm run postinstallcommand (the compiled version is theserver.jsfile located at the root of the app)styles.scss: The styles of the app, written inSCSS. It is manually built with theSassCLI (theCSSoutput is located in thepublicfolder)
viewsfolder:pugtemplates rendered byserver.jsindex.pug: the homepage of the appfeatures.pug: the song analysis page of the app
publicfolder: static style and script files