2.0.1 • Published 5 months ago

create-100xrepo v2.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

šŸš€ create-100xrepo

A powerful CLI tool to quickly scaffold a Turbo Repo-based monorepo with optional configurations for a frontend, backend, WebSocket server, and database setup.

✨ Features

  • Generates a Turbo Repo monorepo structure.
  • Includes optional templates:
    • Frontend: React, Next.js
    • Backend: Express (HTTP server)
    • WebSocket Server
    • Database: PostgreSQL (Prisma), MongoDB
  • Uses pnpm for package management.

šŸ“¦ Installation

use it directly via npx:

npx create-100xrepo my-project

šŸ›  Usage

Run the CLI and follow the prompts:

npx create-100xrepo <project-name>

Example:

npx create-100xrepo my-turbo-app

The CLI will guide you through selecting the components you want to include in your project.

šŸ“‚ Generated Folder Structure

Depending on your selections, your monorepo will look something like this:

my-turbo-app/
ā”œā”€ā”€ apps/
│   ā”œā”€ā”€ web/            # Frontend (React, Next.js)
│   ā”œā”€ā”€ mobile/         # React Native (Expo)
│   ā”œā”€ā”€ backend/        # Backend (Express)
│   ā”œā”€ā”€ ws-server/      # WebSocket server
ā”œā”€ā”€ packages/
│   ā”œā”€ā”€ db/             # Database setup (PostgreSQL/MongoDB)
ā”œā”€ā”€ turbo.json          # Turbo Repo config
ā”œā”€ā”€ package.json        # Root package.json
└── README.md

⚔ Commands

Run the development server

pnpm dev

Build the project

pnpm build

Start the production server

pnpm start

šŸ”„ Contributing

Feel free to open issues and submit pull requests on GitHub: GitHub Repository

šŸ“œ License

MIT License. See LICENSE for details.