2.0.1 ⢠Published 5 months 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-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.