包含租客自助门户、询盘收集、支持工单和业主仪表盘等多条路由
property-portal-template — Next.js 后台模板
作者 frankxai
基于 Next.js 的租赁物业门户与业主后台模板,包含租客自助门户、询盘收集、支持工单、房源草稿管理以及业主控制的代理工作流。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
内置确定性投资测算工作区,支持摊销、再融资、现金流、IRR/NPV 和组合压力测算
提供房源草稿工作室、代理任务控制中心和代理工作台等后台管理界面
数据层包含组织、房源、询盘、通知、审批和审计事件等表,并支持租户级行级安全
生产环境要求显式配置业主认证模式,支持单业主私密路径和 OIDC 机构路径
通过单独认证的 MCP 边界暴露无状态代理工具,避免代理直接访问门户数据库
模板详细介绍
该模板是 Property Intelligence OS 的门户部分,面向出租型物业场景,提供面向租客的公开页面和面向业主/管理方的后台界面。公开侧包括房源详情页、询盘表单和基于访问码的租客自助门户;后台侧包括业主仪表盘、房源草稿工作室、支持工单入口、安装就绪度检查、通知台账、代理任务控制中心与代理工作台等路由。
模板内置一个确定性的投资测算工作区,支持月度摊销、再融资计划、年度现金流、税前 IRR/NPV 以及组合下行压力测算,并保留来源溯源、文档审核状态和结构化参考录入。公开工作区以虚构示例起步,输入仅保存在浏览器会话中,可导出模型 JSON 或导入授权模型包。
数据层使用 db/schema.sql 定义组织、房源、单元、知识文章、房源草稿、询盘、支持工单、通知、周度业主复核、指标观察、审批、代理运行、代理任务、过渡提案、审批回执、受控过渡和审计事件等表,并配合 db/rls.sql 启用租户级行级安全。生产环境要求 DATABASE_URL,持久化存储不可用时在通知前返回 503。
身份方面,生产环境必须显式设置 PROPERTY_OS_AUTH_MODE,支持 static-private-pilot(单业主私密路径)和 oidc(机构路径)两种模式,缺失或不完整模式会锁定业主访问。代理相关工作通过单独认证的 MCP 边界进行,/api/mcp 暴露 underwrite_property、stress_property_portfolio 和 get_property_review_playbook 三个无状态工具。
模板明确限制 v1 行为:静态门户仅回答已批准事实,表单仅收集和清洗演示提交,可用性、租金、租约条款、退款、紧急维修和私有数据需业主批准,v1 不做房源渠道自动发布。Kleinanzeigen 参考录入不是实时账户连接,OpenImmo 外发仍需提供商合作、凭证和批准测试。
适合你的项目吗?
适用场景
- 搭建面向租客的出租物业展示网站,包含房源详情与在线询盘表单
- 为业主或物业管理方提供房源草稿管理、支持工单和通知台账后台
- 在浏览器会话中运行投资测算模型,并导出或导入模型 JSON
- 通过 MCP 边界接入代理任务,执行物业承销、组合压力测算和审核流程查询
- 在部署前使用安装就绪度检查和证明包接口评估环境配置与缺失项
适合人群
- 希望以 Next.js 为基础构建租赁物业门户的开发者
- 需要租客自助门户与业主后台一体化模板的物业团队
- 计划将 Vercel 前端与受治理的物业知识控制面配合使用的实施者
- 希望以免费、安全起点探索 AI 辅助物业运营的社区构建者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
克隆仓库后运行 npm install,并按 README 依次执行 validate、typecheck 和 build 等脚本
- 2
生产环境需设置 DATABASE_URL,并按顺序应用 db/schema.sql、db/rls.sql 和种子数据
- 3
生产环境必须显式设置 PROPERTY_OS_AUTH_MODE,可选 static-private-pilot 或 oidc
- 4
首次安装后将 PROPERTY_OS_ORG_ID 设置为种子组织 id,并在部署预览中验证 /admin/runtime
- 5
Kleinanzeigen 参考录入不是实时账户连接,OpenImmo 外发需要提供商合作、凭证和批准测试
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 生产环境必须配置 DATABASE_URL 数据库连接;若持久化存储不可用,系统会在通知前返回 503,无法收集询盘等提交数据。
- 生产环境必须显式设置 PROPERTY_OS_AUTH_MODE 环境变量;缺失、不支持或不完整的模式会锁定业主访问权限。
- Kleinanzeigen 参考录入并非实时账户连接;OpenImmo 外发仍需提供商合作、签发的凭证并通过批准测试,无法直接使用。
- 在目标数据库、认证模式、通知、法律审查、监控和业主审批流程具备部署证据前,不得用于真实租客数据。
- 外部发布、消息发送、派发、申请人决策、访问披露、定价和可用性等操作在 v1 中均被阻止,需人工处理。
- v1 版本不支持房源渠道自动发布,需手动操作。
- 生产环境需使用两个租户隔离的逻辑数据库和独立运行时角色:Vercel 上的门户数据库和 Railway 上的受治理控制面账本。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Production intake requires `DATABASE_URL`, records the submission and approval atomically, and returns `503` before notification when durable storage is unavailable.
README 原文
Production must explicitly set `PROPERTY_OS_AUTH_MODE`; absent, unsupported, or incomplete modes lock owner access.
README 原文
A Kleinanzeigen reference is not a live account connection. Outbound OpenImmo delivery still requires the provider partnership, issued credentials and an approved test.
README 原文
Do not use it with real renter data until the target database, selected auth mode, notifications, legal review, monitoring, and owner approval flows have deployment evidence.
README 原文
External publication, messaging, dispatch, applicant decisions, access disclosure, pricing, and availability remain blocked.
README 原文
No listing channel auto-posting in v1.
README 原文
https://github.com/frankxai/property-portal-template/blob/main/LICENSEhttps://github.com/frankxai/property-portal-template/blob/main/README.mdProduction uses two tenant-isolated logical databases and separate runtime roles: this portal database on Vercel and the governed control-plane ledger on Railway.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 85 / 100
- 技术栈
- Next.js · React
- 网站类型
- 后台 · 企业官网
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-10-01
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: e5866287980dcad72f09dac165cfbb1801985c4cdc128d79eb3b09edb2cb833f
2026-10-02T15:44:22.870Z
来源文件 / 仓库# Property Portal Template [Deploy on Vercel](https://vercel.com/new/clone?repository-url=https://github.com/frankxai/property-portal-template) · [Use this template](https://github.com/frankxai/property-portal-template/generate) · [Download ZIP](https://github.com/frankxai/property-portal-template/archive/refs/heads/main.zip) · [Operating System Template](https://github.com/frankxai/property-os-template) Vercel/Next.js template for a premium rental-property website, renter self-service portal, inquiry capture, support intake, owner dashboard, listing draft admin, and owner-controlled agent team. ## Principal owner workspace (v0.3) The `/` workspace now runs a shared, deterministic investment engine: monthly amortization, scheduled refinancing, annual cash flow, pre-tax IRR/NPV and coordinated portfolio downside. It includes source provenance, document-review status, structured Kleinanzeigen reference intake, an adviser brief and category-specific tenant case drafts. The public workspace begins with **fictional examples**. Inputs stay in the browser session; export the model JSON to retain it or import an authorized model pack. Editing a sample preserves its example lineage. Owner/admin records retain their existing authentication boundary and are not synchronized into this public workspace. `/api/mcp` exposes three real, stateless official-SDK tools: `underwrite_property`, `stress_property_portfolio`, and `get_property_review_playbook`. The endpoint only calculates caller-supplied assumptions and returns public review procedures. See [ChatGPT setup](docs/chatgpt-connection.md), [financial methodology](docs/investment-model.md), and [workspace contract](docs/principal-workspace.md). ```bash npm run validate npm run typecheck npm run build npm run principal:smoke npm run auth:smoke ``` A Kleinanzeigen reference is not a live account connection. Outbound OpenImmo delivery still requires the provider partnership, issued credentials and an approved test. No scraping, messaging or publication is added. ## Who This Is For - property owners who want a premium renter-facing web experience - agencies installing modern property websites and support workflows - implementers who pair Vercel frontends with GitHub-approved property knowledge - community builders who want a free, safe starting point for AI-assisted property operations This is the portal half of Property Intelligence OS. Pair it with `property-os-template` for agent roles, MCP boundaries, owner runbooks, partner offer design, the schema-valid install planner, and Railway control-plane architecture. ## Routes - `/`: operating dashboard entry point - `/properties/[slug]`: public property page - `/properties/[slug]/inquire`: inquiry capture - `/stay/[accessCode]`: renter self-service portal - `/support`: support and maintenance intake - `/owner`: owner dashboard - `/admin/setup`: owner setup checklist and missing-fact workflow - `/admin/implementation`: installation readiness, agent architecture, production gates, and partner offer ladder - `/admin/runtime`: runtime storage, notification, capability, and queue posture - `/admin/notifications`: signed delivery, retry, fallback, and owner acknowledgement ledger - `/admin/listings`: listing draft studio - `/admin/integrations`: approved/manual/planned integration cockpit - `/admin/control-center`: specialist missions, authority boundary, runtime posture, lifecycle, and outcome scorecard - `/admin/agent-workbench`: approved-evidence, structured-draft, immutable-proof, and owner-review workflow - `/admin/agent-runs`: owner-reviewed agent run ledger - `/admin/ops`: server-timestamped weekly review, metric evidence, operating cadence, and release gates ## Setup ```bash npm install npm run validate npm run agent:dry-run npm run typecheck npm run build npm run smoke npm run auth:smoke npm run identity:smoke npm run notification:smoke npm run weekly:smoke npm run weekly:visual npm run visual:qa npm run audit npm run install:proof npm run auth:hash -- "private owner passcode" npm run db:rls:smoke npm run identity:db:smoke ``` ## Data Model The starter uses repo content in `data/properties.ts` for approved public facts. Runtime submissions may use demo memory only in development or an explicit loopback test process. Production intake requires `DATABASE_URL`, records the submission and approval atomically, and returns `503` before notification when durable storage is unavailable. Send only sanitized summaries to GitHub issues or notification workers. The first portal schema lives in `db/schema.sql`. It separates organizations, properties, units, knowledge articles, listing drafts, inquiries, support tickets, notifications, weekly owner reviews, immutable metric observations, approvals, portal agent runs, agent missions, transition proposals, approval receipts, controlled transitions, and audit events. Apply `db/rls.sql` after the schema to enable tenant-scoped row-level security, then use `db/seed-sample.sql` for a public-safe local production-mode smoke seed. Production uses two tenant-isolated logical databases and separate runtime roles: this portal database on Vercel and the governed control-plane ledger on Railway. Never point both `DATABASE_URL` values at the same logical database; the authenticated MCP API is the boundary between them. Runtime APIs: - `/api/runtime/health`: environment, adapter, notification, and capability posture - `/api/runtime/snapshot`: counts, recent demo queue items, audit posture, and production notes - `/api/approved-evidence`: owner-authenticated, versioned evidence registration through MCP - `/api/agent-drafts`: approved-evidence structured draft through MCP; no local fallback - `/api/agent-run-reviews`: owner accept, revise, or reject outcome through MCP; no content apply Production database order for a fresh install: 1. Apply `db/schema.sql`. 2. Apply `db/rls.sql`. 3. Seed with `db/seed-sample.sql` or a private owner seed. 4. Set `PROPERTY_OS_ORG_ID` to the seeded organization id. 5. Verify `/admin/runtime` in the deployed preview before real renter data. Existing v0.2 portal databases apply `db/002-notification-lifecycle.sql`, `db/003-weekly-owner-review.sql`, and the transactional `db/004-tenant-oidc.sql` in order, then rerun `db/rls.sql` and the live database smokes before enabling production workflows. ## Owner Identity Production must explicitly set `PROPERTY_OS_AUTH_MODE`; absent, unsupported, or incomplete modes lock owner access. - `static-private-pilot` is the private one-owner path with a high-entropy signing secret and passcode digest. - `oidc` is the agency path with pre-bound organization membership, signed ID-token verification against pinned JWKS, fixed server-backed sessions, PostgreSQL rate limits, role capabilities, and atomic member/session revocation. The portal accepts no global owner API bearer. Machine-to-machine agent work crosses the separately authenticated MCP boundary. See `docs/owner-auth.md` for endpoint configuration, reviewed member binding, database role constraints, and deployed acceptance evidence. ## Implementation Cockpit The route `/admin/implementation` turns the template into an installable product surface. It scores the current install across approved property knowledge, premium portal readiness, runtime storage, Codex/Claude/MCP agent substrate, listing operations, owner notifications, and business packaging. The API route `/api/implementation/readiness` exposes the same contract for automation, partner audits, and future onboarding flows. It intentionally reports missing environment variables and blocked v1 actions instead of pretending the demo template is production-persistent. ## Agent Control Center The protected route `/admin/control-center` converts the agent team into an operational surface: ten narrow specialist mandates, six mission states, an explicit authority contract, runtime proof counts, and owner/renter/property/partner success targets. `/api/agent-missions` records a draft-only mission with one property scope, objective, success metric, owner action, persistence receipt, notification receipt, and audit event. When MCP is configured, the portal routes missions, approved evidence, structured drafts, and owner review outcomes through that single authenticated control plane. Governed draft routes never fall back to the portal database, and the legacy manual run ledger is disabled in connected or production mode. The paired `property-os-template` persists these records under forced RLS and implements proposal, owner decision, single-use receipt, exact internal apply, audit, and undo transactionally. External publication, messaging, dispatch, applicant decisions, access disclosure, pricing, and availability remain blocked. The protected `/admin/agent-workbench` is the owner-facing four-stage loop: record a bounded mission, register exact approved evidence, generate a schema-checked draft, and record accept/revise/reject. The page exposes model, prompt, evidence, output hash, risk, latency, token, and no-action receipts. A review never applies or sends the draft. ## Self-Service Install Proof The route `/admin/setup` includes the install proof cockpit: proof score, runtime posture, required commands, phase gates, missing production env names, owner approval boundaries, and blocked v1 actions. The protected API route `/api/install/proof-packet` exposes the same evidence for partner audits and onboarding automation. The local command `npm run install:proof` prints a public-safe JSON proof packet that reports environment key names and configured booleans only; it does not print secret values. Generate the upstream configuration packet in `property-os-template` with `npm run install:plan -- --config <public-safe-config.json>`, then attach its hashes and this portal's live proof packet to the handoff. ## Owner Notifications Notifications use a durable tenant-scoped outbox and append-only event ledger. A separately authenticated worker sends HMAC-signed, sanitized webhooks, retries with bounded backoff, triggers the fallback route when urgent acknowledgement is late, and exposes evidence at `/admin/notifications`. See `docs/notification-lifecycle.md` and run `npm run notification:smoke` after the production build. ## Weekly Evidence The protected `/admin/ops` workflow records one review per organization and UTC week, derives review duration and urgent acknowledgement from server evidence, accepts bounded FAQ and vacancy inputs, and stores five explicit `met`, `not-met`, or `unmeasured` observations. Completion is idempotent and performs no external action. See `docs/weekly-owner-review.md`. ## V1 Safety - Static portal answers approved facts. - Forms collect and sanitize demo submissions. - Availability, rent, lease terms, refunds, urgent repairs, and private data require owner approval. - No listing channel auto-posting in v1. ## Vercel Deploy as a normal Next.js project or use the deploy button above after the repository is public. Use preview deployments for owner review before production. The v0.3 release uses Next.js 16.3.5 and React 19.2.8. `sharp` and `postcss` are pinned to patched versions through npm overrides. Run the dependency audit in CI before deploying; the inherited v0.2 dependency lock is superseded by this release. ## v0 Path Use `docs/v0-implementation-brief.md` as the v0 prompt brief for remixing the interface while preserving the safety model: approved facts, human approval, no automatic commitments, and operational dashboard density. ## Operating Docs - `docs/operator-runbook.md` - `docs/owner-auth.md` - `docs/self-service-install.md` - `docs/implementation-cockpit.md` - `docs/runtime-adapter.md` - `docs/portal-scene-brief.md` - `docs/agent-control-center-spec.md` - `docs/agent-workbench-spec.md` - `docs/weekly-owner-review.md` - `docs/product-roadmap.md` - `docs/production-hardening.md` - `docs/v0-implementation-brief.md` - `docs/success-criteria.md` - `docs/taste-standard.md` - `docs/release-gate.md` ## Support Boundary The public template can run as an explicit local demo, but production owner access fails closed. Do not use it with real renter data until the target database, selected auth mode, notifications, legal review, monitoring, and owner approval flows have deployment evidence.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

SaaS-Boilerplate
🚀🎉📚 SaaS Boilerplate built with Next.js + Tailwind CSS + Shadcn UI + TypeScript. ⚡️ Full-stack React applic…
Next.js · SaaS

next-shadcn-dashboard-starter
Free, open source, AI-friendly admin dashboard template built with Next.js 16, shadcn/ui, Tailwind CSS, and Ty…
Next.js · 后台

Studio Admin · Radix UI
Modern Admin Dashboard Template built with Shadcn UI and Next.js 16
Next.js · 后台

free-nextjs-admin-dashboard
TailAdmin is a Next.js and Tailwind CSS free, open-source admin dashboard template. Provides developers with t…
Next.js · 后台

Next-JS-Landing-Page-Starter-Template
🚀 Free NextJS Landing Page Template written in Tailwind CSS 3 and TypeScript ⚡️ Made with developer experienc…
Next.js · 企业官网

materio-mui-nextjs-admin-template-free
An enterprise-grade Next.js admin dashboard template. Made with developer experience first: Next.js v14 (App R…
Next.js · 后台
