2.0.1 ⢠Published 1 year ago
create-100xrepo v2.0.1
š 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-appThe 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 devBuild the project
pnpm buildStart 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.