Skip to content

AkkalDhami/servercn

Servercn

Backend component registry for Node.js & Typescript

License TypeScript Node.js

Servercn is a backend component registry for Node.js & TypeScript. It provides a robust collection of pre-configured components, boilerplates, and utilities for Node.js and TypeScript, enabling developers to scaffold production-ready code in seconds.

Shadcn ecosystem for nodejs backend


Servercn Components

Visit website

Join discord

πŸ› οΈ Usage

1. Initialize a Project

Start a new project with a recommended, production-ready structure.

npx servercn-cli init

2. Add Components

Add specific modules to your existing project. This allows for incremental adoption.

npx servercn-cli add [component-name]

Examples:

npx servercn-cli add logger
npx servercn-cli add oauth

Components

  • API Error Handler

npx servercn-cli add error-handler
  • API Response Formatter

npx servercn-cli add response-formatter
  • Async Handler

npx servercn-cli add async-handler
  • File Upload provider

npx servercn-cli add file-upload
  • JWT Utils

npx servercn-cli add jwt-utils
  • Logger

npx servercn-cli add logger
  • Rate Limiter

npx servercn-cli add rate-limiter
  • OAuth Provider

npx servercn-cli add oauth
  • Health Check

npx servercn-cli add health-check

And more

3. CLI Commands

Visit for more

  • List all available registry item.

    npx servercn-cli ls --all
  • List all available registry item in JSON structure.

    npx servercn-cli ls --all --json
  • List all available registry commands.

    npx servercn-cli list
  • List all available registry commands in JSON structure.

    npx servercn-cli ls --json
  • List available components.

    npx servercn-cli ls cp
  • List available all foundation.

    npx servercn-cli ls fd
  • List available schema.

    npx servercn-cli ls sc
  • List available blueprint.

    npx servercn-cli ls bp
  • List available tooling.

    npx servercn-cli ls tl

🀝 Contributing

We welcome contributions! Please feel free to submit a Pull Request.

Contributing guides

πŸ“„ License

This project is licensed under the MIT License.

Stargazers over time

RepoStars


Built with πŸͺ“ by Akkal Dhami and the servercn contributors

About

Servercn , the backend component registry for Node.js inspired by shadcn/ui. The shadcn philosophy for Node.js backends.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages