Created
June 23, 2019 18:38
-
-
Save jamster10/16423953e478b423ce360cad583003ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Which database tables are created in the migrations? | |
User | |
Word | |
Language | |
What are the endpoints for user registration, login and refresh? | |
login: /token | |
What endpoints have been implemented in the language router? | |
sending back their language cards | |
What is the async and await syntax for? | |
alt to callbacks and promises | |
Which endpoints need implementing in the language router? | |
head & guess | |
How does the GET /api/language endpoint decide which language to respond with? (Hint: Does it relate to the user that made the request?) | |
every request checks the users language | |
In the UserService.populateUserWords method, what is db.transaction? | |
DOes a batch of things | |
What is SERIAL in the create migration files? (Hint) | |
auto incrementing | |
What is setval in the seed file? (Hint) | |
puts autoincrementor at rightpalce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment