The Dynamic Site Generator
The Ephemeral API Generator
Gatsby blog
GraphQL
Overview of Gatsby
Build a blog static
Implement favourites dynamic
Implement courses hybrid - dynamic but better
👍 Gated content
👎 Maintaining API
👎 Different sources of truth
👎 REST APIs are not cool
👍 Markdown is cool
👍 Awesome workflow
👍 Consistent with blog
👍 Versioned with Git
👎 Everything would be public
API handles authorization rules
Write course content in markdown
Use Gatsby's build to populate DB
DB not the single source of truth (ephemeral)
Blog static - buildtime
Favourites dynamic - runtime
Courses hybrid
Use build step more!
This is not limited to Gatsby!
By dijonmusters