Create an API for an Express App
Looking for some more practice exposing an API for an app? Good!
Get in the .../starter-code/mongoose-movies folder inside of this lab's folder in the class repo.
Install the Node modules:
$ npm install.
Create a RESTful API for the
moviesresource that includes all 5 RESTful routes.
castproperty of each movie document must be populated with the performer documents.
Collaborate and smile.
- Expose a full RESTful API for the
performersresource as well.
This lab is a deliverable!
Be sure to commit your work:
$ git add -A $ git commit -m "API Lab"
Push to your fork of the class repo:
$ git push origin master
Browse to .../starter-code/mongoose-movies folder in your fork of the repo in GHE, copy the URL in the address bar and slack that URL to your instructional team.