How ooarchitect92/forge works
ForgeStudio is a website-building platform with a browser editor and an API supporting identity, AI-assisted design, website documents, publishing, WordPress integration, and organization billing. The main user journey is sign-in, choose an AI, template, or blank-site starting point, edit and save a website, then publish when ready. The README documents product capabilities beyond the sampled implementation; those branches are represented at subsystem level. Source excerpts confirm selected backend calls, while unsampled subsystem links are omitted or marked unverified.
Main entry points: dashboard Website chooser · website.routes.ts Website API · save-document.ts Document persistence · App.tsx Web application
Components 20
Web experience
- Web application
frontend/src/App.tsx - Website chooser
frontend/src/pages/dashboard - Visual editor
frontend/src/pages/editor/WebsiteEditor.tsx
Design and content
- AI design UI
frontend/src/features/ai/DesignAssistant.tsx - Template library
frontend/src/features/templates - AI design pipeline
backend/src/modules/ai/design/pipeline.ts
Platform services
- Website API
backend/src/routes/website.routes.ts - Website service
backend/src/services/website.service.ts - Document persistence
backend/src/services/websites/save-document.ts - Session authentication
backend/src/middlewares/auth.middleware.ts - PostgreSQL access
backend/src/config/prisma.ts - Identity flows
backend/src/modules/identity - Organization billing
backend/src/services/billing/billing.routes.ts
Delivery and operations
- Publishing
backend/src/services/publishing.service.ts - WordPress integration
backend/src/controllers/wordpress.controller.ts - WordPress connector
backend/src/services/wordpress/connector.service.ts - File storage
backend/src/modules/files/file.service.ts - Platform control
backend/src/platform/control/routes.ts
Other components
- Website builder
- Stripe
Connections 21
- Website builder → Web application: uses
README.md - Web application → Website chooser: routes to
frontend/src/App.tsx - Website builder → Website chooser: chooses site
README.md - Website chooser → AI design UI: opens AI design
README.md - Website chooser → Template library: opens templates
README.md - Website chooser → Visual editor: opens blank editor
README.md - AI design UI → AI design pipeline: requests generation
- AI design pipeline → Document persistence: authorizes writes
backend/src/modules/ai/design/pipeline.ts - Visual editor → Website API: saves site
- Website API → Session authentication: requires session
backend/src/routes/website.routes.ts - Website API → Website service: dispatches handlers
- Website service → Document persistence: saves document
backend/src/services/website.service.ts - Document persistence → PostgreSQL access: persists data
- Website builder → Identity flows: signs in
README.md - Website builder → Organization billing: manages billing
backend/src/services/billing/billing.routes.ts - Organization billing → Stripe: processes payments
- Website builder → Publishing: publishes site
README.md - Website builder → WordPress integration: integrates WordPress
backend/src/controllers/wordpress.controller.ts - WordPress integration → WordPress connector: calls connector
backend/src/controllers/wordpress.controller.ts - Website builder → File storage: uploads files
- Website builder → Platform control: administers platform
backend/src/platform/control/routes.ts