Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CNode.js Next

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.

Stack

  • 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

Quick Start

Requires Node.js 24+, pnpm, PostgreSQL, and Redis.

pnpm install
cp .env.example .env
pnpm db:push:pg
pnpm dev

Web 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.

Contributing

Read the contribution guide before opening a pull request. Community participation follows the Code of Conduct. Report vulnerabilities according to the security policy.

License

Released under the MIT License. Legacy reference code outside this repository is not covered by this license.

About

Next version of CNode.js community

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages