croco-cli
v1.0.7
Published
π Croco - A CLI tool to generate full-stack monorepo projects with Astro, React, Tailwind, Express, and TypeScript
Maintainers
Readme
π Croco CLI
Croco CLI is a friendly and fast command-line tool to bootstrap full-stack monorepo projects using Astro, React, TailwindCSS, Express, and TypeScript.
Start coding in seconds with a clean, opinionated setup for modern web apps.
β¨ Features
- π Full-stack monorepo ready-to-use.
- β‘ Astro + React + TailwindCSS for the frontend.
- π Express for the backend.
- π¦ TypeScript for both frontend & backend.
- π A cute croco-themed starter landing page.
- π Shared types between client and server.
π¦ Installation
You can run Croco CLI without installing it globally:
npx croco-cliOr install it globally:
npm install croco-cliπ§ Usage
crocoThe CLI will guide you through
- Project name.
- Install or not dependencies.
Once done:
cd my-project
npm run devπ Project structure
my-project/
βββ apps/
β βββ frontend/ # Astro + React + Tailwind app
β βββ backend/ # Express + TypeScript backend
βββ packages/
β βββ types/ # Shared TypeScript types
βββ package.jsonπ¨ The Starter Landing Page
When you run the CLI, your new Astro project comes with a Croco-themed landing page:
Built with Astro + TailwindCSS
Includes a React component (CrocBites.tsx) mounted with client:load
Easy to customize or replace
π License
This project is licensed under the MIT License β see the LICENSE file for details.
