How jelisse/last-website-framy-connect works
Framy Connect is a private preview web application for customizable public profiles, product purchases, and account and business operations. A customer signs in, edits a profile or configures an order, and uses the workspace APIs to save data; public profile pages expose the published projection. Managers review orders and move them through fulfilment, while finance and subscription views support operational oversight. The README describes sandbox behavior and explicitly says production payments and several other integrations are not implemented. Edges reflect the README and source-index references; unsampled implementation details are not inferred.
Main entry points: route.ts Workspace API · page.tsx Public profile · server-db.ts D1 database · manager-workspace.tsx Manager workspace
Components 23
Customer experience
- Storefront
app/page.tsx - Product catalogue
app/produtos/page.tsx - Purchase configuration
components/purchase-configurator.tsx - Customer dashboard
app/dashboard/page.tsx - Customer workspace
components/workspace.tsx
Profiles and plans
- Public profile
app/[slug]/page.tsx - Profile rules
lib/domain.ts - Plan entitlements
lib/entitlement.ts - Profile access
lib/server-profile-access.ts - Workspace API
app/api/workspace/route.ts
Orders and fulfilment
- Manager order API
app/api/manager/route.ts - PaySuite integration
lib/server-paysuite.ts
Business operations
- Manager workspace
components/manager-workspace.tsx - Finance API
app/api/manager-finance/route.ts - Finance view
components/finance-manager.tsx - Subscription management
components/subscription-manager.tsx
Runtime services
- Session authentication
app/chatgpt-auth.ts - Server auth
lib/server-auth.ts - Server catalogue
lib/server-catalog.ts - Finance reporting
lib/finance-report.ts - D1 database
lib/server-db.ts
Other components
- Customer
- Manager
Connections 29
- Customer → Storefront: browses
README.md - Storefront → Product catalogue: links to
- Customer → Product catalogue: searches products
README.md - Customer → Purchase configuration: configures order
README.md - Customer → Customer dashboard: opens account
README.md - Customer dashboard → Customer workspace: renders
app/dashboard/page.tsx - Customer workspace → Workspace API: loads and saves
- Workspace API → Session authentication: checks session
app/api/workspace/route.ts - Session authentication → Server auth: reads session
app/chatgpt-auth.ts - Workspace API → D1 database: reads and writes
app/api/workspace/route.ts - Workspace API → Server catalogue: loads products
app/api/workspace/route.ts - Server catalogue → D1 database: reads products
lib/server-catalog.ts - Workspace API → Plan entitlements: checks entitlements
app/api/workspace/route.ts - Public profile → Profile access: loads profile access
app/[slug]/page.tsx - Public profile → Profile rules: uses profile rules
app/[slug]/page.tsx - Public profile → Plan entitlements: checks entitlements
app/[slug]/page.tsx - Public profile → D1 database: reads profile data
app/[slug]/page.tsx - Manager → Manager workspace: manages operations
README.md - Manager workspace → Manager order API: updates orders
- Manager order API → Session authentication: checks session
app/api/manager/route.ts - Manager order API → D1 database: reads and writes
app/api/manager/route.ts - Manager workspace → Finance view: renders
components/manager-workspace.tsx - Finance view → Finance reporting: uses reports
components/finance-manager.tsx - Manager workspace → Subscription management: renders
components/manager-workspace.tsx - Finance API → Session authentication: checks session
app/api/manager-finance/route.ts - Finance API → D1 database: reads finance data
app/api/manager-finance/route.ts - Finance API → Finance reporting: builds reports
app/api/manager-finance/route.ts - Customer → Public profile: views published profile
README.md - Purchase configuration → PaySuite integration: optional checkout