- Which database tables are created in the migrations?
- Migrattion 1
- Users table
- Migration 2
- Language table
- Migration 3
- Word table
- Migrattion 1
- What are the endpoints for user registration, login and refresh?
- 'api/user/' is used to register a new users. 'api/auth/token' is used to login to the site.
- What endpoints have been implemented in the language router?
- 'api/language/'
- 'api/language/guess'
- 'api/language/head'
- What is the async and await syntax for?
- Async/Await is used instead of a promise chain
- Which endpoints need implementing in the language router?
- 'api/language/guess'
- 'api/language/head'
- How does the GET /api/language endpoint decide which language to respond with?
- In the user-service.js in the function populateUserWords
- In the UserService.populateUserWords method, what is db.transaction?
- It makes multiple changes to the database and if any of them fail, it will rewind the changes.
- What is SERIAL in the create migration file?
- Auto incrimenting numbers
- What is setval in the seed file
- Sets the values for the seed data
Last active
December 22, 2019 00:08
-
-
Save Brahyt/c92139b0db9c4cb991eef56c2e87ace3 to your computer and use it in GitHub Desktop.
Spaces-Rep-Capstone-DanielB
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment