This is a backend project using Express API and Mongo DB. This API is showing top music data.
Routes created:
- /songs
Show all songs - /songs/:id
Show info about specific song by mongo id - /tracks/:trackName
Show info about a track by name. Ex 'boyfriend' will give all tracks with word boyfriend in - /artist/:artistName
Show all songs by an artist. Ex Ed Sheeran (-- matches like above --) - /genres/:genre
See songs and artists by a genre. Ex pop (-- matches like above --)
✓ What MongoDB is
✓ How to model data in Mongo using Mongoose
✓ How to store secret information such as database passwords
✓ How to return useful error messages from your API endpoints
✓ How to fetch items from a Mongo database using Mongoose
✓ How to seed large amounts of data to a database
Link to api: https://project-mongo-api-tc2ipn4gdq-lz.a.run.app/