Postion
  • 社区动态
  • 定价标准
控制台
登录账号
Discord

基础入门

总览介绍为什么选择 Postion?核心概念快速入门指南搬家与迁移控制台指南新用户必看如何赚钱

创作者专区

站点管理写作与编辑Postion 编辑器品牌与定制化界面风格指南SEO 搜索引擎优化社交分发工作流模板市场商业化变现内容访问与定价订阅模式Stripe 支付接入其他收入来源提现与手续费数据分析高级数据分析邮件营销推荐返利机制导出数据CRM 粉丝管理CRM 标签指南CRM 客户分群

共建社区

社区准则早期采纳者红利如何参与

技术开发支持

平台架构Postion 底层原理绑定自定义域名Webhooks 钩子公开 API 接口文档存储限制与配额

其他

常见问题解答疑难解答与排错
文档
Technical Architecture & Stack

Technical Architecture & Stack

A look under the hood at Postion. Explore our system architecture, modern tech stack, and the core design principles that ensure speed, scale, and security.

1. System Architecture Diagram

Core Flow:

  1. A user accesses a site ([username].postions.app or a custom domain) via the Next.js frontend.
  2. The Cloudflare Edge Network processes the request, providing global CDN acceleration.
  3. API requests are sent to the backend services via Next.js API Routes.
  4. The backend service interacts with the PostgreSQL database using Prisma ORM to fetch content data.
  5. The payment process is handled by the Stripe API, and subscription statuses are synced via Webhooks.
  6. AI-related features (e.g., writing assistant, summary generation) are implemented by calling the OpenAI/Gemini API.
  7. newsletter features (use mailgun to implemented)
  8. workflow features (use n8n to implemented)

2. Technology Stack

  • Frontend: Next.js 15 (React), Tailwind CSS, BuouUI
  • Backend: Next.js API Routes (Serverless Functions), TypeScript
  • Database: PostgreSQL
  • ORM: Prisma
  • Payments: Stripe
  • Domain: Cloudflare
  • AI Services: OpenAI API (GPT-4/GPT-3.5),Gemini API, Vercel AI SDK
  • Deployment/Hosting: Deployment
  • Authentication: NextAuth.js
  • Content Delivery: Cloudflare Edge Network (CDN)
  • Workflow: n8n

[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.

3. Core Data Schema

  • 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.

4. Key Design Principles

  • Multi-tenancy: Content and configurations for different creators are isolated at the database level using a siteId.
  • Performance First: We utilize Incremental Static Regeneration (ISR) and CDN caching to ensure content pages load in milliseconds.
  • Security & Reliability: All payment information is handled by Stripe; we do not store sensitive payment data. We leverage platform-native security features (like Cloudflare's firewall) to prevent common attacks.
  • Scalability: The serverless architecture allows for automatic scaling based on traffic, eliminating the need for server management.
上一页平台架构
下一页绑定自定...
Postion

写下专属于你的篇章

TwitterGitHubDiscordDiscordInstagram

探索

  • 控制台
  • 社区
  • 价格
  • 帮助文档
  • 常见问题

公司

  • 更新日志
  • 开发路线图
  • 联系我们
  • 加入我们
  • 官方博客

资源

  • 邀请机制
  • 快速入门
  • 什么是 Postion
  • 控制台指南
  • 公开 API 指南

支持与服务

  • 关于 Postion
  • 加入 Discord
  • BuouUI 项目
  • 站点地图
  • 博客 RSS

© Postion 2026 — BuouTech Inc.

版本说明无障碍隐私政策服务条款