https://github.com/fullstackacademy/study-saturday-express-sequelize
Express and Sequelize Review
https://github.com/fullstackacademy/study-saturday-express-sequelize
Last synced: about 1 year ago
JSON representation
Express and Sequelize Review
- Host: GitHub
- URL: https://github.com/fullstackacademy/study-saturday-express-sequelize
- Owner: FullstackAcademy
- Created: 2018-08-29T13:23:12.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2023-07-12T08:48:46.000Z (almost 3 years ago)
- Last Synced: 2025-03-29T04:07:36.870Z (about 1 year ago)
- Language: JavaScript
- Size: 2.78 MB
- Stars: 9
- Watchers: 13
- Forks: 534
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Study Saturday: Week 2
Express and Sequelize Review
## Lecture Slides: [Study-Saturday-Express-Sequelize](https://docs.google.com/presentation/d/1eTVsP1JMEmASD-qUfaFILHY9sNdNH7R_fFiHWylAQJo/edit?usp=sharing)
## 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`