Skip to content

Conversation

@bejarcode
Copy link
Owner

Summary

Complete implementation of the cornerKit Shopify embedded app scaffold:

  • OAuth 2.0 authentication with token exchange strategy (new embedded auth)
  • Polaris-styled dashboard with App Bridge integration
  • Prisma session storage (SQLite dev, PostgreSQL prod-ready)
  • HMAC signature verification middleware
  • Webhook handlers (app/uninstalled, GDPR compliance)
  • 24-hour session persistence with automatic token refresh
  • CSP-compatible headers for embedded app security

Tech Stack

  • Remix 2.x with Vite
  • @shopify/shopify-app-remix for auth/sessions
  • @shopify/polaris for UI components
  • Prisma ORM for session storage

Test Plan

  • Run npm run dev in apps/shopify
  • Install on development store (cornerkit-dev.myshopify.com)
  • Verify OAuth flow completes
  • Verify dashboard renders with Polaris components
  • Unit tests pass (session, validation, webhook)
  • Integration tests pass (OAuth, dashboard)

Screenshots

Dashboard showing "Connected" status with getting started guide and app status.

Next Steps

  • Feature 007: Theme App Extension (inject cornerKit into stores)

🤖 Generated with Claude Code

Complete implementation of the cornerKit Shopify embedded app scaffold:

- OAuth 2.0 authentication with token exchange strategy
- Polaris-styled dashboard with App Bridge integration
- Prisma session storage (SQLite dev, PostgreSQL prod-ready)
- HMAC signature verification middleware
- Webhook handlers (app/uninstalled, GDPR compliance)
- 24-hour session persistence with automatic token refresh
- CSP-compatible headers for embedded app security

Tech stack:
- Remix 2.x with Vite
- @shopify/shopify-app-remix for auth/sessions
- @shopify/polaris for UI components
- Prisma ORM for session storage

Includes unit and integration tests (>85% coverage target).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@bejarcode
Copy link
Owner Author

Closing PR - will merge directly to main to keep branches clean

@bejarcode bejarcode closed this Nov 23, 2025
@bejarcode bejarcode deleted the 006-shopify-app-scaffold branch November 23, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants