Discord hiring managers if you are reading this I haven't pushed anything in github in like two years since I've been busy with college. Sorry if this sucks/doesn't work.
- Make sure that MongoDB is installed
- Open up a terminal in your working directory
- Run
npm install express mongodb - Launch MongoDB Compass
- Create a database
- Create a collection
- Upload the JSON file included into the collection
- Finally run npm app.js to start the server -It will be up on localhost at port 8000
Change the collectionName and dbName constants to what your collection name and database names are respectively
Search for an artist. If the artist is in the database, it will return all the songs that are in the database made by that artist. Feel free to add more songs and artists to the database using MongoDB Compass