Express server fetching artist data from CoverArtArchive, MusicBrainz, Wikidata and Wipipedia.
Application requires Node.js.
Download latest stable verion here: https://nodejs.org/en/download/
PORT = 3000
HOST = "http://localhost"
npm install
npm install --only=prod
npm run dev
Server runs at http://localhost:3000 (as default)
npm run test
Server needs to run and devDependencies are required for testing!
npm start
Server runs at http://localhost:3000 (as default)
http://localhost:3000/api/artist/:id (:id = Valid MBID!)
Nirvana Example:
http://localhost:3000/api/artist/5b11f4ce-a62d-471e-81fc-a69a8278c7da
App runs with Node.js built in Cluster module.
For more scalability options, setup PM2 load balancing and/or horizontal scaling in Nginx. Maybe the most important, upgrade server plan.