Back to builder

Technical Spec: AI-Powered SaaS

Choose your stack — pages, endpoints, and DB tables update automatically

User System & Auth

5p · 8ep · 3t
/auth/loginLogin

Email/password and OAuth sign-in form

public
/auth/registerRegister

Account creation form

public
/auth/forgot-passwordForgot password

Send password reset email

public
/auth/reset-passwordReset password

Set new password via emailed token

public
/settings/securitySecurity settings

Enable TOTP or SMS-based MFA

auth

Payments & Billing

6p · 7ep · 3t
/pricingPricing

Plan comparison table with feature matrix and upgrade CTAs

public
/billingBilling overview

Current plan status, usage summary, and quick actions

auth
/billing/plansChange plan

Upgrade, downgrade, or switch billing intervals

auth
/billing/invoicesInvoices

Paginated invoice history with PDF download links

auth
/billing/payment-methodsPayment methods

Add, remove, and set default credit cards

auth
/checkout/successCheckout success

Post-Stripe checkout confirmation with onboarding next steps

public

Analytics & Tracking

1p · 3ep · 2t
/admin/analyticsAnalytics dashboard

Overview charts: DAU/WAU/MAU, top events, retention heatmap, and key conversion KPIs

auth

Public API & Webhooks

4p · 10ep · 3t
/docs/apiAPI reference

Auto-generated OpenAPI/Swagger UI — try endpoints directly from the browser

public
/settings/apiAPI keys

Create, name, scope, and revoke developer API keys — plaintext shown only once on creation

auth
/settings/api/:keyIdAPI key scopes

Edit name and scope permissions for an existing API key

auth
/settings/webhooksWebhooks

Register webhook endpoints, choose event subscriptions, test delivery, view delivery history

auth

Notifications

2p · 5ep · 2t
/notificationsNotifications

Full notification history and mark-as-read

auth
/settings/notificationsNotification preferences

Toggle per-type and per-channel notification settings

auth

File Storage

2p · 5ep · 1t
/filesFile manager

Grid/list view of uploaded files with search, sort, and bulk delete

auth
/files/:fileIdFile preview

Preview images and PDFs inline; show metadata and download link for other types

auth

Admin Panel

6p · 9ep · 2t
/adminAdmin overview

At-a-glance KPIs: total users, signups today, error rate, pending moderation count

auth
/admin/usersUser management

Searchable, filterable user table — status, plan, last active, quick actions

auth
/admin/users/:idUser detail

Full user profile: account info, subscription, activity log, sessions, and admin actions

auth
/admin/contentContent moderation

Queue of flagged content — approve, remove, or escalate

auth
/admin/settingsApp settings

Feature flags, site-wide config values, maintenance mode toggle

auth
/admin/audit-logAudit log

Immutable log of all admin actions with actor, target, before/after state

auth

Rate Limiting & Abuse Prevention

0p · 0ep · 0t

None for this stack configuration.

Background Jobs & Queues

0p · 0ep · 0t

None for this stack configuration.

Webhooks

0p · 0ep · 0t

None for this stack configuration.

Transactional Email

0p · 0ep · 0t

None for this stack configuration.

Multi-tenancy & Workspaces

0p · 0ep · 0t

None for this stack configuration.

Onboarding & Activation

0p · 0ep · 0t

None for this stack configuration.