Skip to content

SofieRydmark/project-mongo-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project mongo API

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 --)

The problem

✓ 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

View it live

Link to api: https://project-mongo-api-tc2ipn4gdq-lz.a.run.app/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%