Ship backends faster than ever

Focus on logic, not boilerplate. Add oauth, file-upload, rate limiting, logging, email-service and more to your project with production-ready components. You own the code. No lock-in.
Built with the shadcn/ui philosophy for Node.js backends
$ npx servercn-cli init

29

+

Components

11

+

Foundations

4

+

Schemas

4

+

Blueprints

7

+

Providers

Hybrid Authentication

MongoDB implementation of hybrid authentication using Mongoose for users and Redis for session tracking and refresh token rotation.

npx servercn-cli@latest add bp hybrid-auth

...

Using JavaScript Instead of TypeScript?

servercn components are written in TypeScript, but JavaScript developers can still use them.
Follow our guide to build the components and use the compiled JavaScript files in your Node.js project.

Supported Frameworks

Build your backend with your preferred framework. Start with Express.js, more coming soon.

Available

Express.js

The battle-tested Node.js framework. Full component support — auth, middleware, error handling, and more.

Working

NestJS

Enterprise-grade Node.js. Modular components for guards, interceptors, pipes — aligned with NestJS DI patterns.

Available

Next.js

Full-stack ready. Route handlers, server actions, and middleware components for Next.js App Router backends

Next.js Starter

Servercn's Next.js Starter is a production-ready foundation with App Router, TypeScript, and Tailwind—so you can build immediately without boilerplate.

npx servercn-cli init nextjs-starter --fw=nextjs

...

Open Source Contributors

Servercn is actively maintained by contributors who bring production-grade patterns and improvements to the ecosystem.

Build your backend faster with Servercn.

Add production-ready, modular backend components, schemas and blueprints to your Express project with a single command. Own your code, no dependencies, no lock-in.

npx servercn-cli init