- Use
npm install
to grab all the required node modules npm start
andnpm run dev
are simple wrappers fornode server/server.js
andnodemon server/server.js
, respectively
- Populate your Students collection with the
.fetch
method by hitting our mini-student data API at https://hr-yearbook.herokuapp.com/api/ - Use the included router to create a
'cohort/:cohortNumber'
route that will populate the view with the correct cohort members - Display each cohort's students in a visually appealing way
- Create a loading image that is removed when your collections finish updating
- Animate the HR logo with pure CSS or JS
- Create an information window or additional subviews that do or displays something useful (or silly!) when a user clicks on or mouses over a student
- Create a 'profile wall' subview for each student that allows users to leave comments
- Persist those comments via your local mongo database
Base URL: https://hr-yearbook.herokuapp.com/api/
- URL: '/api/students'
- Accepts (optional) query parameters for students' name, cohort, image, and id
- Query Params: name=String, cohort=Number, image=String, id=Number
- URL: '/api/students/:id'
- URL Params: id=Number
- URL: '/api/cohort/:cohort'
- URL Params: cohort=Number