Created
May 13, 2019 13:19
-
-
Save verdi327/4131f815ff3275e7897a7d988e72aa62 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
Thingful Client | |
Interesting how context was setup. A class was created that held all of the funtions and state updates. The render function returns the provider wrapper child elements. | |
App Layout | |
Login Page | |
Register Page | |
List Page | |
Show Page | |
Not Found (for all other routes) | |
Not entirely sure how private and public only routes work | |
Thingful Server | |
-BEGIN/COMMIT creates a single postgres transaction. If an error occurs, then all changes are rolled back. | |
-Serial is a shorthand syntax for an auto incrementing unique key in postgres | |
-Treeize takes joined data and turns it into a deeply nested object - in effect taking horizontally organized data and making it vertical. | |
Treeize is used within thingful service and serializes the return values. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment