CNode.js Next powers cnodejs.org, the Node.js Chinese developer community. It is an open-source TypeScript monorepo that preserves CNode's public API and core community behavior while running on PostgreSQL.
- React Router SSR Web app with Tailwind CSS and shadcn/ui
- Hono API on Node.js with session, GitHub OAuth, and legacy access-token support
- PostgreSQL with Drizzle ORM; Redis for sessions and runtime coordination
- Shared TypeScript and Zod contracts across Web and API
Requires Node.js 24+, pnpm, PostgreSQL, and Redis.
pnpm install
cp .env.example .env
pnpm db:push:pg
pnpm devWeb runs at http://localhost:5173; API runs at http://localhost:3001. Root .env is the default local environment source and must never be committed.
See the Web development guide and API development guide for app-specific commands. The architecture overview documents system boundaries, the Web app renders the generated API reference at /api, and the deployment guide provides the public deployment example.
Read the contribution guide before opening a pull request. Community participation follows the Code of Conduct. Report vulnerabilities according to the security policy.
Released under the MIT License. Legacy reference code outside this repository is not covered by this license.