Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证AppointMe is a modular-monolith .NET SaaS template with multitenancy, auth, billing and deployment already wired.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A production-grade modular-monolith .NET 10 SaaS foundation for advanced .NET teams, solo founders, and agencies who want a real base.
AppointMe is a modular monolith (.NET 10 + React 19) with the hard parts already solved: multi-tenancy, authentication, authorization, CQRS, domain events, durable messaging, and a typed frontend wired to the backend contract. Clone it, press F5, and you have a running multi-tenant app — then build your product on top.
Try the live demo — seeded multi-tenant instance, no signup required.
It's a shared public demo seeded with sample data — other visitors' activity may be visible, and the environment may be reset periodically.
Two ways in. Either clone this repo (see Quick start), or install the template package and generate a renamed copy:
dotnet new install BravoDev.AppointMe.Templates::1.2.1
dotnet new appointme -n Contoso.Booking
# One-time, per machine: trust the local HTTPS dev cert (the AppHost won't start without it)
dotnet dev-certs https --trust
cd Contoso.Booking/src/Contoso.Booking.Aspire && dotnet run
dotnet new appointme renames namespaces, projects, the solution file, the database,
the Keycloak realm and the container names to your project name, and leaves the domain
vocabulary alone. It ships the Bicep infrastructure and CI workflows; it does not ship
this project's changelog, release media, or deployment config.
Pin the version — ::1.2.1 — so a generation is reproducible. The template version
tracks the app release it contains.
-n must be a valid dotted .NET identifier — e.g. Contoso.Booking — since it becomes
C# namespaces, project names, and folder paths. A non-dotted name such as
my-booking-app (a common choice for kebab-case project slugs) generates a solution
that does not compile; dotnet new reports success either way, so there is no
in-the-moment warning if you pick one.
DbContext and schema, organized by vertical slice.compose.yaml runs the same backing services so you can launch the API and frontend yourself.Goal: clone the repo and have AppointMe running locally — backend, frontend, database, auth, and mail.
You choose how the backing services (SQL Server, Keycloak, Mailpit) run:
Both produce an identical running app — same images, ports, credentials, and seeded data. Do the prerequisites once, then follow either option.
| Requirement | Why | Notes |
|---|---|---|
| .NET 10 SDK | Builds and runs the API and the Aspire host | dotnet --version should report 10.x |
| Docker (running) | Hosts SQL Server, Keycloak, and Mailpit containers | Docker Desktop or any OCI-compatible runtime |
| Node.js 22.18+ or 24.11+ | Builds and serves the React frontend | npm ships with Node — nothing else to install. With Aspire (Option A) the frontend's npm install runs automatically on first start |
| HTTPS dev certificate | Frontend and services run over HTTPS | dotnet dev-certs https --trust |
First run pulls container images and restores NuGet/npm packages, so it takes a few minutes. Subsequent runs are fast — the SQL Server, Keycloak, and Mailpit containers are persistent and reused across restarts.
The frontend is linted and formatted by Vite+ (Oxlint + Oxfmt), and CI fails on unformatted code (npm run check). The rules live in the lint and fmt blocks of src/AppointMe.Frontend/vite.config.ts — there is no .prettierrc or eslint.config.js, so an editor still set up for Prettier or ESLint falls back to its own style. Whatever your editor, npm run format in src/AppointMe.Frontend fixes formatting before you commit.
Rider / WebStorm / IntelliJ IDEA
oxfmt, which ignores vite.config.ts and formats with Oxfmt's defaults.vite-plus in the frontend's node_modules (run npm install there first) and runs vp fmt --lsp, which reads the fmt block. Tick Run 'Fix All' on Save for format-on-save, and Prefer Oxfmt configuration to IDE code style so the IDE's own edits (auto-imports, typing) follow the same style.vp lint --lsp) for inline lint and type errors.vp with it.VS Code: install the VoidZero.vite-plus-extension-pack extension pack, set oxc.oxc-vscode as the default formatter for JavaScript/TypeScript, and disable the Prettier and ESLint extensions for this workspace.
Both options start here:
git clone <your-fork-or-clone-url> appointme
cd appointme
# One-time: trust the local HTTPS dev cert (used by the API, frontend, and Keycloak).
# The Aspire AppHost refuses to start until it is trusted.
dotnet dev-certs https --trust
# Start the whole stack — backing services, API, and frontend
cd src/AppointMe.Aspire
dotnet run
Prefer your IDE? Open AppointMe.sln in Visual Studio or Rider, set AppointMe.Aspire as the startup project, and press F5. That's the entire setup.
Either way, the .NET Aspire dashboard opens automatically. Wait for every resource to turn Running (green) — the API waits for SQL Server and Keycloak to be healthy before it starts.
What happens on startup, with no action from you:
appointme Keycloak realm (clients, roles, mappers) is imported.Compose runs only the backing services (SQL Server, Keycloak, Mailpit) — on the same ports, images, and credentials as Aspire. You run the API and frontend yourself.
# 1. One-time: export the trusted dev cert that Keycloak serves on https://localhost:8082
./docker/keycloak/export-dev-cert.sh
# (Windows / no bash — run the command the script wraps:)
# dotnet dev-certs https --format PEM --no-password -ep docker/keycloak/certs/keycloak.crt
# 2. Start the backing services and wait for them to report healthy
docker compose up -d
docker compose ps # SQL Server and Keycloak should show "healthy"
# 3. Run the API (applies migrations + seeds demo data on first start)
dotnet run --project src/AppointMe.Api
# 4. In a second terminal, run the frontend
cd src/AppointMe.Frontend
npm install
npm run dev
Then open https://localhost:5173. To stop the services, docker compose stop (keeps data) or docker compose down (removes the containers; SQL Server and Keycloak data survive in named volumes — add -v to wipe them too).
What Compose does for you:
8082 using your trusted dev cert and imports the appointme realm.EF Core migrations and demo-data seeding happen when you start the API in step 3 (same as Aspire — the API does this on startup, not Compose).
| Service | URL | Credentials |
|---|---|---|
| Frontend (the app) | https://localhost:5173 | sign up — see below |
| Aspire dashboard | shown in the console at startup | — |
| Keycloak admin console | https://localhost:8082 | admin / admin |
| Mailpit (catches all outgoing email) | http://localhost:8026 | — |
| API OpenAPI document | https://localhost:7233/openapi/v1.json | — |
| SQL Server | localhost:60740 | sa / Password1 |
About these credentials. Every secret used in local development — the SQL
sapassword, the Keycloakadminaccount, and the Keycloak client secrets inappsettings.Development.jsonandappointme-realm.json— is a throwaway default. It only protects containers running on your machine, and it's committed on purpose so the stack runs with zero setup. These are safe to keep in a public repo, but never reuse them in a real deployment. Production secrets live in Azure Key Vault and are injected at deploy time — seeinfra/. Agitleaksworkflow scans every push/PR to catch any real secret that slips in.
The app manages its own sign-up — you don't register through Keycloak directly.
/auth/signup).That's it — you're up and running.
Just want to look around? Open https://localhost:5173/api/v1/login/demo to log straight in as a pre-provisioned demo user ([email protected]) — no sign-up form, password, or email verification. It's a real OIDC login (the same one-click flow behind the public live demo), running against your local stack, that redirects you into the app; from there, complete onboarding to create your company.
Enabled out of the box in local development (Demo:Enabled in appsettings.Development.json) and inert in production — the endpoint returns 404 when disabled.
src/
├── AppointMe.Aspire/ # .NET Aspire orchestrator — the F5 entry point for local dev
├── AppointMe.Api/ # ASP.NET Core API host (endpoints auto-discovered)
├── AppointMe.Shared/ # Shared domain abstractions, value objects, infrastructure
├── Identity/ # Authentication & user provisioning (Keycloak, Entra)
├── Organizations/ # Companies, employees, invitations, onboarding
├── CRM/ # Customer management
├── Booking/ # Appointments & scheduling
└── AppointMe.Frontend/ # React + Vite + TypeScript SPA
The codebase follows Domain-Driven Design with vertical slice architecture — each use case owns its command, handler, endpoint, and request/response in a single folder. For the full architecture guide, conventions, and patterns, see CLAUDE.md.
Deeper write-ups on how specific parts of AppointMe are designed:
Version history and release notes live in CHANGELOG.md and on the
releases page. The current release is
v1.2.1, a packaging follow-up to v1.2.0 (the template release): install it with dotnet new install BravoDev.AppointMe.Templates::1.2.1.
AppointMe is released under the MIT License — free to use, modify, and distribute, including commercially.
It builds on open-source libraries that remain under their own licenses. See
THIRD-PARTY-NOTICES.md for attribution and a note on
Hangfire (LGPL-3.0).