OAuth routes
GET /api/shopify/installvalidates the shop and redirects to Shopify OAuth.GET /api/shopify/callbackverifies state and HMAC, exchanges the code, and upserts the shop record.
Setup.io core Shopify app
This foundation links a Shopify store, stores the resulting access token in Postgres, and sends installed merchants into a dedicated in-app home with their current bundle status.
OAuth routes
GET /api/shopify/install validates the shop and redirects to Shopify OAuth.GET /api/shopify/callback verifies state and HMAC, exchanges the code, and upserts the shop record.Database schema
shops stores the Shopify domain and access token.streamers stores Twitch handles and raw Twitch metadata.bundles stores generated bundle payloads and lifecycle status.Bundle preview
Status: complete
Environment checklist
DATABASE_URL for Neon PostgresSHOPIFY_API_KEY from the Shopify appSHOPIFY_API_SECRET from the Shopify appSHOPIFY_APP_URL set to the public app URLSHOPIFY_SCOPES such as read_products,write_products