Your uncle heard that you're a computer genius -- and he wants you to build him an app to catalog his awesome record collection. He'd really like to be able to check his stacks while he's at the record store and add any new purchases to his virtual library from his phone.
Here's what he wants the app to be able to do:
- Display all the artists whose records he has
- Display all the records he owns for each artist
- Add new records for existing artists
- Add new artists
He says you can start by including eight of his favorites:
You told him that this will literally take you an entire day, but he's very insistent.
Fork and clone this repository, then let's build your uncle a full-stack app using Express and MongoDB for the back end and JavaScript/jQuery for the front end!
- Step One - Setting up and seeding your database
- Step Two - Querying the collection with Mongoose
- Step Three - Serving data via Express
- Step Four - Connecting the front end
SOLUTIONS:
Code for one possible solution to this lab can be found here: https://github.com/jeremyrrose/record-collection-solution
And you can take a look at an example front end here: http://record-lab.surge.sh/
It is highly recommended that you try the lab on your own first before looking at any solutions; these Markdown files are designed to lead you toward solutions in a way that will help you understand how each part of your app works.
Plus you'll have more fun if you go through it step by step!