In part #1 of the Go SaaS API Third Party Integration, we'll go over how to build a simple integration, with an HTTP Server, Routing and Integrations, with credentials from environment variables.
📓 Notes
https://www.webdevfuel.com/notes/go-s...
🖥️ Repository (Source Code)
https://github.com/webdevfuel/go-saas...
🚀 HTMX Go SaaS Blueprint
https://www.webdevfuel.com/hgsb
00:00 - Introduction
02:05 - HTMX Go SaaS Blueprint
02:46 - Set up Go project
06:06 - Routing with "Hello, world!"
08:13 - Ignore "tmp" directory with ".gitignore"
10:06 - Tag struct and App interface
15:59 - Initialize ActiveCampaignIntegration struct and implement App interface methods
28:08 - HTMX Go SaaS Blueprint
28:46 - Initialize ConvertKitIntegration struct and implement App interface methods
34:12 - Set environment variables
34:51 - Initialize new request (*http.Request)
36:25 - Get tags (with App interface methods and integration package functions)
43:40 - Route to return tags based on app URL param
47:59 - Test endpoint/route with CURL