1.0.2 โข Published 5 months ago
create-sagar-app v1.0.2
create-sagar-app
A CLI tool to create MERN stack projects with best practices and modern tooling.
Features
- ๐ MERN Stack (MongoDB, Express, React, Node.js)
- ๐ฆ Monorepo setup with Turborepo
- ๐ฅ TypeScript support
- โก๏ธ Vite for React development
- ๐ tRPC for type-safe API calls
- ๐ฑ Modern and responsive UI
- ๐ ๏ธ ESLint and TypeScript configuration
- ๐จ Tailwind CSS for styling
- ๐งช Testing setup included
Quick Start
# Using npm
npx create-sagar-app my-app
# Using yarn
yarn create sagar-app my-app
# Using pnpm
pnpm create sagar-app my-app
Project Structure
my-app/
โโโ apps/
โ โโโ client/ # React frontend
โ โโโ server/ # Express backend
โโโ package.json
โโโ turbo.json
โโโ pnpm-workspace.yaml
Requirements
- Node.js 18 or later
- pnpm (recommended) or npm or yarn
Development
After creating your project:
cd my-app
pnpm install
pnpm dev
This will start both the client and server in development mode.
License
MIT
Author
Sagar