create-cundi-app
v1.0.22
Published
Create a new Cundi app with React + Refine + Ant Design
Maintainers
Readme
create-cundi-app
Create a new Cundi web application with React + Refine + Ant Design.
Quick Start
# Using npm
npm create cundi-app@latest my-app
# Using npx
npx create-cundi-app my-app
# Using yarn
yarn create cundi-app my-app
# Using pnpm
pnpm create cundi-app my-appWhat's Included
The generated project includes:
| Category | Technology | |----------|------------| | Framework | React 19 + TypeScript | | Build Tool | Vite | | UI Library | Ant Design | | Metasystem | Refine | | Core SDK | @cundi/refine-xaf |
Features
- 🔐 Dual Authentication: Local login + Keycloak SSO
- 👤 User Management: Pre-built user CRUD pages
- 🛡️ RBAC: Role-based Access Control
- 🌍 i18n: English and Traditional Chinese
- 🌙 Dark Mode: Theme toggle support
- 🤖 AI Assistant: Persistent right-side chat panel (Optional)
- 📊 Dashboard: Starter template
After Creating
cd my-app
npm install
cp .env.example .env # Configure your API URL
npm run devEnvironment Variables
Edit .env to configure:
VITE_API_URL=http://localhost:5000/api
# Keycloak (Optional)
VITE_KEYCLOAK_URL=http://localhost:8080
VITE_KEYCLOAK_REALM=your-realm
VITE_KEYCLOAK_CLIENT_ID=your-client-id
VITE_REDIRECT_URI=http://localhost:5173/auth/callbackDocumentation
Related
- cundiapi - Backend template for .NET
License
MIT
