Five standalone projects to choose from: a Vite + React SPA, Next.js, Rust + Axum, Kotlin Android, and Swift iOS. The examples include username/password sign-in with JWT, personal Item CRUD, English and Simplified Chinese, and system / light / dark themes. Requirements and plans live in docs (in Chinese).
| Project | Project guide | Prerequisites |
|---|---|---|
| SPA | spa/README.md | Node 24, npm |
| Next | next/README.md | Node 24, npm |
| Backend | backend/README.md | Rust stable, PostgreSQL / MySQL |
| Android | android/README.md | JDK 21, Android SDK; Android 14+ device |
| iOS | ios/README.md | Xcode, XcodeGen, CocoaPods; iOS 18+ device |
Each directory can be copied on its own and has its own configuration, .gitignore, and lockfiles. The Web projects use npm independently. There is no root JavaScript package, shared JavaScript workspace, or source dependency between projects.
Start in backend, run PostgreSQL or MySQL, copy .env.example to .env, and configure database settings and a random APP_AUTH__JWT_SECRET. Run migrations, create accounts with create-user, then run cargo run. Local demo accounts alice / bob with starter-password must be created explicitly as described in the backend guide; use your own passwords in production.
Choose SPA or Next, enter its directory, copy the example configuration, and run npm ci followed by npm run dev. Default ports are SPA 5173, Next 3000, API 8080. Each project only needs its own toolchain and access to the configured services.
For the iOS development environment:
cd ios
xcodegen generate -s project.yml
pod installFor production, replace the first command with xcodegen generate -s project.prod.yml, then run pod install as usual. Open the generated Starter.xcworkspace. Configure production URLs in the project's YAML files.
Android uses its own Gradle Wrapper: ./gradlew :app:assembleDevDebug or ./gradlew :app:assembleProdRelease. See mobile environments (in Chinese) for network and environment details.
AI agents should start with AGENTS.md and the target project's rules, then follow the delivery plan. The API contract comes from Rust DTOs and routes. Clients generate code from their local OpenAPI snapshots; do not edit generated code by hand.
The root scripts directory provides helpers for the complete repository. Each project's native build, check, and test commands remain its standalone entry points. Real authentication and database tests require running local services. Signing, production deployment, and store submission are outside the first release's scope.
Examples: bash scripts/verify.sh spa quick, bash scripts/verify.sh backend full, or bash scripts/contracts.sh check. The mode is required: quick runs static/build checks; full also runs the target's real integration tests. Backend full requires TEST_API_URL, TEST_DATABASE_URL and APP_AUTH__JWT_SECRET before any build. Web tests require a real API; Android requires an Emulator and adb reverse; iOS requires IOS_DESTINATION='platform=iOS Simulator,id=<UUID>'. One full target does not replace the complete release matrix.
Next and Backend now use the 2026-10-21 upstream baselines, with all four clients adapted to the new contract. Local verification passed for both databases, both Web projects, and the minimum / currently installed mobile systems. See the verification report for scope and dependency advisories, and the delivery plan for current status. Configure production service URLs, signing and deployment for your own project.
Each project includes AGENTS.md and a local .agents/skills/<project>-changelog example. Next maintains CHANGELOG.md and CHANGELOG.zh-CN.md; Backend uses CHANGELOG.md; the other examples and the root update-changelog use changelog.md. These writing skills initialize an absent log or merge confirmed changes into an existing one; native verification remains in the project READMEs and delivery plan. See AI workflows (in Chinese) for usage and scope.
Temporary plans, logs, test reports and task-owned caches belong in ignored .ailog. No personal model, credential or MCP installation is required by these templates.
Inspired by vadxq/nextjs-ai-starter and vadxq/rust-axum-starter. Design choices and pinned reference commits are documented in the reference analysis (in Chinese). Licensed under Apache-2.0.