Core Framework
React 19
Latest version of React with improved server components and concurrent features
TypeScript 5.8
Type-safe JavaScript with advanced type checking and inference
Build Tools
Vite 7
Next-generation frontend tooling with lightning-fast HMR
TanStack Router Plugin
Automatic route tree generation with type safety
Vite Configuration
The project uses Vite with TanStack Router plugin for automatic code splitting:vite.config.ts
Routing & Navigation
TanStack Router 1.130
Type-safe routing with automatic code splitting, search params validation, and nested layouts
- File-based routing with automatic route tree generation
- Full TypeScript support with type-safe navigation
- Built-in devtools for debugging routes
- Search parameter validation
- Nested layouts and route groups
Styling
Tailwind CSS 3.4
Utility-first CSS framework
clsx
Conditional className utility
tailwind-merge
Merge Tailwind classes intelligently
Custom Theme
The project extends Tailwind’s default theme with custom colors:tailwind.config.js
Authentication
Better Auth 1.3
Modern authentication solution with email verification, password reset, and session management
- Custom
AuthContextfor global auth state SecureRoutecomponent for protected routes- Email verification flow
- Password reset functionality
src/lib/auth-client.ts- Auth client configurationsrc/contexts/AuthContext.tsx- Global auth statesrc/components/SecureRoute.tsx- Route protection
Maps & Geolocation
Google Maps API
Address autocomplete and geocoding services
Leaflet 1.9
Interactive maps with React bindings
AddressAutocomplete.tsx- Google Places autocompletePropertyMap.tsx- Leaflet map for property locations
UI Components & Icons
Lucide React 0.460
Modern icon library with 1000+ icons
React Hot Toast 2.6
Lightweight notification system
Toast Configuration
src/main.tsx
Drag & Drop
DnD Kit
Modern drag and drop toolkit for React - used for image reordering in property forms
DraggableImageItem.tsx- Sortable image component- Used in property creation/edit forms
Code Quality
ESLint 9
Code linting with React-specific rules
TypeScript ESLint 8
TypeScript-specific linting rules
eslint-plugin-react-hooks- Enforce hooks ruleseslint-plugin-react-refresh- Validate HMR setup
Development Tools
Package Scripts
Package Scripts
The project uses ES Modules (
"type": "module") throughout the codebase for modern JavaScript features.Utility Libraries
| Library | Version | Purpose |
|---|---|---|
| clsx | 2.1.1 | Conditional class names |
| tailwind-merge | 2.5.4 | Merge Tailwind classes without conflicts |
Browser Support
The application targets modern browsers that support ES2020+ features. Vite automatically handles transpilation for the target environment.
Next Steps
Project Structure
Learn how the codebase is organized
Routing System
Understand the routing architecture