1.0.2 โ€ข Published 5 months ago

create-sagar-app v1.0.2

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

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

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago