The quickest way to create a new CanxJS app is using create-canx, which sets up everything for you automatically, including **Tailwind CSS**.
curl -fsSL https://bun.sh/install | bashbunx create-canx my-appThis will create a new directory called my-app with a complete CanxJS project.
The CLI will guide you through the setup process with interactive prompts to customize your project:
Full MVC structure with views
bunx create-canx my-app REST API without views
bunx create-canx my-app --apiMinimal microservice setup
bunx create-canx my-app --micromy-app/├── src/│ ├── controllers/ # Route controllers│ ├── models/ # Database models│ ├── views/ # JSX view templates│ ├── routes/ # Route definitions│ ├── middlewares/ # Custom middlewares│ ├── config/ # Configuration files│ └── main.ts # Application entry├── public/ # Static assets├── storage/ # File storage├── .env # Environment variables└── package.json
$
Your app will start at http://localhost:3000