Express and Sequelize Review
Lecture Slides: Study-Saturday-Express-Sequelize
Objective: Build a fully-functioning CRUD API for 2 models, Students and Tests. Test specs are provided to guide development.
- Necessary Models:
- Student
- Test
- Necessary routes:
- Get all students
- Get all test scores
- Update student name
- Update test score
- Get mean test score by student ID
- Get top scoring student
- Delete Student
- Delete Score
- Add Student
- Add Score
Instructions will be provided by the fellow. Each coding portion will take 45 minutes followed by a 15-minute review with the fellow. There is also a 45 minutes lunch break in the middle. For each cycle please only complete the relevant test specs block, it will be marked with .only notation.
- `npm t`