npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@creatoria/cli

v0.2.0

Published

A lightweight CLI for scaffolding enterprise-grade SaaS applications

Readme

Creatoria CLI

A powerful CLI for building enterprise-grade SaaS applications

npm version npm downloads License: MIT Node.js TypeScript

Quick StartFeaturesDocumentationContributing


🚀 What is Creatoria CLI?

Creatoria CLI (cra) is a modern command-line interface for scaffolding and managing enterprise-grade SaaS applications. Built with NestJS and TypeScript, it provides everything you need to build scalable, modular, and production-ready applications.

Perfect for:

  • 🏢 Enterprise SaaS platforms
  • 💼 Business management systems (CRM, ERP, etc.)
  • 🛒 E-commerce platforms
  • 🤖 AI-powered applications
  • 📊 Data-driven applications

✨ Features

🎯 Core Features

  • 📦 Modular Architecture - Plugin-based system with dynamic loading
  • 🔧 Project Scaffolding - Create projects in seconds
  • 🗄️ Multi-Database Support - PostgreSQL, MySQL, MongoDB
  • 🔐 Security First - Built-in authentication, authorization, and security best practices
  • 🐳 Docker Ready - Production-ready Docker configurations

⚡ Developer Experience

  • 📚 Auto-Generated API Docs - Swagger/OpenAPI integration
  • 🧪 Testing Ready - Unit, integration, and E2E testing setup
  • 🎨 TypeScript - Full type safety and IntelliSense
  • 🔥 Hot Reload - Fast development with instant feedback
  • 📈 Performance Optimized - Lazy loading and smart caching

📦 Quick Start

Installation

# Install globally
npm install -g @creatoria/cli

# Verify installation
cra --version

Create Your First Project

# Create a new project
cra create my-awesome-app

# Navigate to project
cd my-awesome-app

# Start development server
npm run start:dev

That's it! Your application is now running at http://localhost:3000 🎉

Access API Documentation

Once your app is running, visit:

  • API Docs: http://localhost:3000/api-docs
  • Health Check: http://localhost:3000/health

🎯 Usage

Creating Projects

# Create with default features
cra create my-project

# Create with custom configuration
cra create my-project \
  --features=auth,database,swagger,redis \
  --db-type=postgres \
  --db-host=localhost \
  --db-port=5432

# Create without installing dependencies
cra create my-project --skip-install

# Create without Docker setup
cra create my-project --skip-docker

Module Management

# Install business modules
cra module install

# List available modules
cra module list

# Enable a module
cra module enable crm

# Disable a module
cra module disable erp

# Get module information
cra module info mall

Database Operations

# Run migrations
cra db migrate

# Seed database
cra db seed

# Reset database
cra db reset

Configuration

# Show current configuration
cra config show

# Set configuration value
cra config set KEY VALUE

Development Server

# Start in development mode
cra dev

# Start production server
cra start

📚 Available Modules

Creatoria comes with pre-built enterprise modules:

| Module | Description | Status | |--------|-------------|--------| | System | User, Role, Permission management | ✅ Stable | | CRM | Customer Relationship Management | ✅ Stable | | ERP | Enterprise Resource Planning | ✅ Stable | | Mall | E-commerce platform | ✅ Stable | | BPM | Business Process Management | ✅ Stable | | AI | AI-powered features | 🚧 Beta |

⚙️ Configuration

Environment Variables

Create a .env file in your project root:

# Application
NODE_ENV=development
PORT=3000
API_PREFIX=api

# Database
DB_TYPE=postgres
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=your_password
DB_DATABASE=creatoria

# Redis (Optional)
REDIS_HOST=localhost
REDIS_PORT=6379

# JWT
JWT_SECRET=your-secret-key
JWT_EXPIRES_IN=7d

# Swagger
SWAGGER_ENABLED=true
SWAGGER_PATH=api-docs

Project Features

When creating a project, you can enable/disable features:

cra create my-project --features=auth,database,swagger,redis,cors,websocket

Available Features:

  • auth - Authentication & Authorization
  • database - Database integration
  • swagger - API documentation
  • redis - Redis caching
  • cors - CORS support
  • websocket - WebSocket support
  • graphql - GraphQL API
  • microservice - Microservice architecture
  • schedule - Task scheduling
  • queue - Message queue
  • email - Email service
  • sms - SMS service

🐳 Docker Deployment

Using Docker Compose

# Start all services
docker-compose up -d

# View logs
docker-compose logs -f

# Stop services
docker-compose down

Building Docker Image

# Build
docker build -t my-app .

# Run
docker run -p 3000:3000 --env-file .env my-app

🏗️ Project Structure

my-project/
├── src/
│   ├── auth/              # Authentication module
│   ├── system/            # System management
│   ├── common/            # Shared utilities
│   ├── database/          # Database configuration
│   ├── app.module.ts      # Root module
│   └── main.ts           # Application entry
├── test/                  # Test files
├── docker-compose.yml     # Docker Compose config
├── Dockerfile            # Docker image
├── .env                  # Environment variables
└── package.json          # Dependencies

🧪 Testing

# Unit tests
npm run test

# E2E tests
npm run test:e2e

# Test coverage
npm run test:cov

# Watch mode
npm run test:watch

📖 Documentation

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

# Clone repository
git clone https://github.com/rn1024/creatoria-saas-cli.git
cd creatoria-saas-cli

# Install dependencies
npm install

# Build
npm run build

# Link for local testing
npm link

# Test CLI
cra create test-project

Running Tests

# Run all tests
npm run test:all

# Run specific test suite
npm run test:unit
npm run test:integration
npm run test:e2e

🗺️ Roadmap

  • [ ] Plugin marketplace
  • [ ] Visual project builder
  • [ ] Cloud deployment integration
  • [ ] AI-powered code generation
  • [ ] Mobile app support (React Native/Flutter)
  • [ ] Multi-language i18n support

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

Built with amazing open-source projects:

💬 Support

⭐ Show Your Support

If you find this project helpful, please give it a ⭐️ on GitHub!


Made with ❤️ by the Creatoria Team

WebsiteGitHubTwitter