UNPKG

create-jtc-starter-kit

Version:
52 lines (39 loc) • 1.29 kB
# JTC React Starter Kit A modern React + TypeScript starter template with Vite, Tailwind CSS, and shadcn/ui pre-configured. ## Features - āš”ļø Vite for fast development - šŸŽØ Tailwind CSS for styling - 🧩 shadcn/ui component system ready - šŸ“ TypeScript for type safety - šŸ”§ ESLint & Prettier pre-configured - šŸ“¦ React Query for server state management - šŸ›£ļø React Router for navigation - šŸ“‹ React Hook Form with Zod validation ## Getting Started ```bash npm install npm run dev ``` ## Available Scripts - `npm run dev` - Start development server - `npm run build` - Build for production - `npm run lint` - Run ESLint - `npm run pretty` - Format code with Prettier - `npm run typecheck` - Run TypeScript type checking ## Adding shadcn/ui Components This template is pre-configured for shadcn/ui. To add components: ```bash npx shadcn@latest add button ``` ## Project Structure ``` src/ ā”œā”€ā”€ components/ # Reusable UI components │ └── ui/ # shadcn/ui components ā”œā”€ā”€ pages/ # Page components ā”œā”€ā”€ model/ # Data layer │ ā”œā”€ā”€ api/ # API configuration │ ā”œā”€ā”€ enums/ # TypeScript enums │ └── interfaces/ # TypeScript interfaces └── lib/ # Utility functions ```