A modern full-stack React application built with TanStack Start, featuring advanced routing, state management, and data fetching capabilities.
- Framework: TanStack Start - Full-stack React with file-based routing
- Routing: TanStack Router - Type-safe routing with file-based routes
- State Management: TanStack Store - Reactive state management
- Data Fetching: TanStack Query - Server state management
- UI Components: Shadcn/ui with Radix UI primitives
- Styling: Tailwind CSS v4 - Utility-first CSS framework
- Type Safety: TypeScript with strict configuration
- Code Quality: Biome - Fast linting and formatting
- Package Manager: pnpm - Fast, disk space efficient
# Clone the repository
git clone https://github.com/Ashrafulgafurtantan/hazert.git
cd hazert
# Install dependencies
pnpm install# Start development server (port 3000)
pnpm dev
# Build for production
pnpm build
# Start production server
pnpm start
# Preview production build
pnpm serve# Run tests
pnpm test# Run all checks (lint, format, organize imports)
pnpm check
# Lint only
pnpm lint
# Format entire project
pnpm formatsrc/
├── components/ # Reusable UI components
│ └── ui/ # Shadcn/ui components
├── features/ # Feature-based modules
├── integrations/ # Third-party integrations
├── lib/ # Utilities and configurations
├── routes/ # File-based routing
└── styles/ # Global styles
- File-based Routing: Automatic route generation from file structure
- Type-safe Navigation: Full TypeScript support for routes and parameters
- Server Functions: Built-in server-side functionality with validation
- State Management: Reactive stores with derived state support
- Data Fetching: Integrated React Query for server state
- Code Quality: Automated linting, formatting, and import organization
- Development Tools: Router, Query, and Store devtools in development
- File-based routes in
src/routes/ - Type-safe navigation with params objects
- Server-side rendering and data loading
- TanStack Store for global state
- Derived stores for computed values
- React hooks integration
- TanStack Query for server state
- Server functions with Zod validation
- Proper loading states and error handling
Built with Shadcn/ui components that can be easily added:
pnpx shadcn@latest add [component-name]This project follows strict development rules for consistency and quality. Key guidelines:
- Navigation: Use params object for dynamic routes, avoid template literals
- Forms: TanStack Form with composition patterns and Zod validation
- Server Functions: All database operations through server functions with validation
- Code Style: 2-space indentation, double quotes, self-closing tags
- Type Safety: Strict TypeScript with proper validation schemas
The application is ready for deployment on various platforms with proper build optimization and environment configuration.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License.