Shopify app template in Go
Shopify had app templates for Node.js, none for Go. I wrote one so Go teams could start an embedded Shopify app without rebuilding the install flow.
Result
40★on GitHub
Before
No Go template
After
A Go template
What I did
- PR #1
The whole initial template, 59 files and +16,892 lines.
- Covers
App Bridge setup, OAuth install and uninstall, Shopify API examples.
- Runs in one command
Go (Gin) API, Vite frontend, PostgreSQL, Docker Compose.
Hardest part
Getting from a fresh checkout to an installed app
Go teams had to piece together Shopify installation, the embedded frontend and a database before they could try a feature. I wired the OAuth install and uninstall flows into a working app and packaged the Go API, Vite frontend and Postgres so developers could start them together.