Bootstrap Next.js 14 app (zh-CN, CNY) with Prisma + SQLite + CI#1
Merged
cto-new[bot] merged 1 commit intomainfrom Oct 21, 2025
Merged
Conversation
…Lite, i18n, and CI Set up a production-ready Next.js 14 scaffold with Chinese (zh-CN) interface and CNY currency for fintech/marketplace usage. Integrates typical tooling and modern best practices for maintainable app foundations. - Next.js 14 (App Router, TypeScript), Tailwind, ESLint/Prettier, .editorconfig, enhanced .gitignore - next-intl for i18n: default zh-CN locale, locale routing middleware, locale files under /messages - CNY currency utils using Intl.NumberFormat + Big.js, DB stores integer fen, UI shows yuan - Asia/Shanghai timezone, dayjs/date-fns zh-CN, helpers for 24h/zh date formatting - Prisma/SQLite setup: User model, migration/seed, Prisma Client - NextAuth credentials & magic-link provider placeholder config - Minimal pages: Dashboard, market placeholder, sign-in UI - API route example - Husky pre-commit and CI workflow: lint and typecheck App runs with yarn/pnpm dev, supports full i18n/zh-CN/currency, CI lint/typecheck and DB seed all succeed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a production-ready Next.js 14 application scaffold with full Chinese (zh-CN) UI support, CNY currency formatting, and robust developer tooling including Prisma (SQLite), next-intl i18n, CI, and minimal authentication. It provides an extensible foundation for fintech or marketplace products in the Chinese locale.
Details
Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup