Prerequisites
Before you begin, ensure you have the following installed:- Node.js (v18 or higher)
- npm, yarn, or pnpm package manager
Install Dependencies
The Auction Platform Frontend uses modern React tooling with Vite, TanStack Router, and Zustand for state management. Install the project dependencies using your preferred package manager:Key Dependencies
The project includes the following core dependencies:Production Dependencies
- @tanstack/react-router (^1.154.14) - File-based routing with automatic code splitting
- react (^19.2.0) - UI library
- react-dom (^19.2.0) - React DOM renderer
- zustand (^5.0.10) - Lightweight state management
- lucide-react (^0.563.0) - Icon library
Development Tools
- vite (^7.2.4) - Build tool and dev server
- @vitejs/plugin-react-swc (^4.2.2) - Fast React refresh with SWC
- storybook (^10.2.12) - Component development environment
- vitest (^4.0.18) - Unit testing framework
- typescript (~5.9.3) - Type safety
- eslint (^9.39.1) - Code linting
Environment Configuration
Create a.env file in the root of your project to configure environment variables:
.env
The
VITE_API_URL environment variable is used throughout the application for API requests. See src/app/api/client.ts:3 for the implementation.Environment Variables
| Variable | Description | Default |
|---|---|---|
VITE_API_URL | Base URL for backend API requests | - |
Project Structure
The project follows Feature-Sliced Design (FSD) architecture:Path Aliases
The project uses TypeScript path aliases for cleaner imports (configured invite.config.ts:59-65):
| Alias | Path |
|---|---|
@/ | ./src |
@app | ./src/app |
@shared | ./src/shared |
@features | ./src/features |
Verify Installation
Run the development server to verify your installation:Next Steps
Follow the quickstart guide to run your first auction platform application