/Study-Saturday-Express-Sequelize

Express and Sequelize Review

Primary LanguageJavaScript

Study Saturday: Week 2

Express and Sequelize Review

Objective: Build a fully-functioning CRUD API for 2 models, Students and Tests. Test specs are provided to guide development.

Details

- 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

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.

How to test routes with specs

- `npm t`