π The Ultimate React Project Generator
A comprehensive CLI tool that creates production-ready React applications with intelligent 4-step template selection. Choose your language, routing & forms, state management, and styling approach through an interactive guided experience.
Built by: Serdest PALAOGLU
Assisted by: GitHub Copilot & Claude Sonnet 3.5 for quality control and testing
# Using npx (recommended)
npx create-gsp-react my-app
# Install to current directory
npx create-gsp-react .
# Or install globally
npm install -g create-gsp-react
create-gsp-react my-app
- JavaScript - Modern ES2024+ with React 19 and Vite
- TypeScript - Full type safety with advanced TypeScript features
- React Router + Formik + Yup - Battle-tested routing and form validation
- React Router + React Hook Form + Zod - Modern forms with TypeScript-first validation (v1.3.0)
- No State Management - Pure React with useState/useEffect
- Context API - Built-in React Context for global state
- Zustand - Lightweight state management with minimal boilerplate (v1.2.0)
- React Query (TanStack) - Server state management with caching (v1.2.0)
- Vanilla CSS - Modern CSS with Sass preprocessing
- Tailwind CSS - Utility-first CSS framework
- Tailwind CSS + ShadcnUI - Beautiful, accessible UI components
Version | Templates Available | Combinations |
---|---|---|
v1.1.1 (Current) | 6 templates | 2 languages Γ 3 styling options |
v1.2.0 (Coming Soon) | 24 templates | 2 languages Γ 4 state management Γ 3 styling |
v1.3.0 (Planned) | 48+ templates | + React Hook Form + Husky/Commitlint |
- βοΈ React 19 - Latest React with concurrent features
- β‘ Vite - Lightning fast development and build tool
- π§ React Router 7 - Modern declarative routing with data API
- π¨ Sass - CSS preprocessing with organized architecture
- π ESLint - Code quality and consistency
- π± Responsive Design - Mobile-first approach
- ποΈ Component Architecture - Well-organized folder structure
Current (v1.1.0):
- π Formik + Yup - Traditional, battle-tested form handling with schema validation
Coming (v1.2.0):
- π― React Hook Form + Zod - Modern, performant forms with TypeScript-first validation
Available (v1.2.1):
- π« None - Use React's built-in state (useState, useEffect, useContext)
- π Context API - React's built-in state management with useReducer pattern
- π» Zustand - Lightweight, modern state management with minimal boilerplate
- π React Query (TanStack Query) - Server state management with intelligent caching, background updates, and data synchronization
- π TypeScript 5.2+ - Type safety and better DX
- π§ Proper TypeScript configs - Optimized for React & Vite
- π¨ Tailwind CSS - Utility-first CSS framework
- π¦ PostCSS - CSS processing pipeline
- π― Custom Tailwind config - Pre-configured with design tokens
- π― ShadcnUI - Beautiful, accessible components
- π§© Pre-built components - Button, Input, and more
- π§ Component utilities - cn() helper function
- π components.json - ShadcnUI configuration
my-app/
βββ public/ # Static assets
βββ src/
β βββ components/ # React components
β β βββ admin/ # Admin-specific components
β β βββ main/ # Main app components
β β βββ ui/ # Reusable UI components (ShadcnUI templates)
β βββ Layouts/ # Page layouts
β βββ hooks/ # Custom React hooks
β βββ libs/ # Utility functions
β βββ styles/ # Global styles and SCSS
β βββ utils/ # Router and utilities
βββ package.json
βββ vite.config.{js|ts}
βββ tailwind.config.js # (Tailwind templates)
βββ components.json # (ShadcnUI templates)
βββ tsconfig.json # (TypeScript templates)
npx create-gsp-react my-app
# Follow the 4-step guided selection:
# 1. π Language: JavaScript or TypeScript
# 2. π§ Router + Forms: Formik+Yup or React Hook Form+Zod
# 3. ποΈ State Management: None, Context API, Zustand, or React Query
# 4. π¨ Styling: Vanilla CSS, Tailwind CSS, or ShadcnUI
# Current templates (v1.1.1)
npx create-gsp-react my-app --template javascript-tailwind
npx create-gsp-react my-app --template typescript-shadcn
# Future templates (v1.2.0)
npx create-gsp-react my-app --template javascript-zustand-tailwind
npx create-gsp-react my-app --template typescript-query-shadcn
- β Zustand Templates - Lightweight state with TypeScript support
- β React Query Templates - Server state management with caching
- β Context API Templates - Built-in React global state
- β Store Examples - Pre-built store patterns and utilities
- β Documentation - State management guides and best practices
- π React Hook Form + Zod - Modern form handling templates
- π Husky + Commitlint - Git hooks and commit message linting
- π Advanced TypeScript - Strict mode and advanced type patterns
- π Testing Setup - Vitest + React Testing Library
- π GitHub Actions - CI/CD workflow templates
- π Monorepo Support - Nx/Turbo integration
- π Docker Support - Production-ready containerization
- π Storybook Integration - Component documentation
- π Internationalization - i18n setup and examples
Coming in v1.2.0:
javascript-rhf
- JS + React Router + React Hook Form+Zod + Vanilla CSStypescript-rhf
- TS + React Router + React Hook Form+Zod + Vanilla CSSjavascript-rhf-tailwind
- JS + React Router + React Hook Form+Zod + Tailwind CSStypescript-rhf-tailwind
- TS + React Router + React Hook Form+Zod + Tailwind CSSjavascript-rhf-shadcn
- JS + React Router + React Hook Form+Zod + ShadcnUItypescript-rhf-shadcn
- TS + React Router + React Hook Form+Zod + ShadcnUI
cd my-app
npm install
npm run dev
Your app will be running at http://localhost:5173
- Main Layout - Available at
/
with navigation - Admin Layout - Available at
/admin
with admin panel - Responsive Design - Works on all devices
- Development Server - Hot reload and fast refresh
- Production Ready - Optimized build with Vite
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLint
npx shadcn-ui@latest add button
npx shadcn-ui@latest add input
npx shadcn-ui@latest add card
Edit tailwind.config.js
to customize your design system:
module.exports = {
theme: {
extend: {
colors: {
primary: {
500: "#3b82f6",
600: "#2563eb",
},
},
},
},
};
Primary Developer & Architect: Serdest PALAOGLU
- ποΈ Project Architecture - Complete system design and implementation
- π οΈ Core Development - CLI tool, template system, and nested menu logic
- π¦ Template Creation - All React template variants and configurations
- π― Product Vision - Feature planning and roadmap development
AI Development Assistance:
- οΏ½ GitHub Copilot - Code completion and development acceleration
- π§ Claude Sonnet 3.5 - Quality control, testing assistance, and code review
This project showcases the powerful combination of human creativity and AI assistance in modern software development.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
MIT Β© GSP Team
- React - UI Library
- Vite - Build Tool
- Tailwind CSS - CSS Framework
- ShadcnUI - Component Library
- Formik - Form Library