An overview of POSTION's system architecture, technology stack, and key design principles.
Core Flow:
[username].postions.app
or a custom domain) via the Next.js frontend.[Info] Rationale: We chose a full-stack TypeScript solution centered on Cloudflare and Next.js to achieve maximum development efficiency, outstanding performance (especially for SEO), and seamless serverless scalability—a perfect fit for a content platform's needs.
User
: Stores user information and authentication details.Site
: Stores configurations for each creator's site (subdomain, custom domain, template, branding, etc.). A User
can own multiple Sites
.Post
: Stores article content, metadata, and publication status. Linked to a Site
.Subscription
: Stores user subscription relationships, linked to a Stripe Subscription
.WebhookEvent
: Logs webhook events from external services like Stripe to ensure data consistency.siteId
.