Express server on Node runtime to faciliate requests from the Spotify data visualizer client: top-spotify-web
- Establishes a socket connection to client via
socket.ioandsessionfor seamless OAuth2 transactions - Fetches artist location data from a private server hosting a custom MusicBrainz
pgdatabase: mb-server - Encapsulated authentication via
passport - Route code separated from server code
- Security middleware:
cors,helmet - Polls Spotify's API asynchronously
- ES6 syntax; airbnb code style