- Frontend Framework: React
- Build Tool: Vite 6
- State Management:
- Redux Toolkit 2.5
- React Redux 9.2
- UI Components:
- Ant Design 5.24
- Tailwind CSS 3.4
- React Icons 5.4
- Maps:
- Leaflet 1.9
- React Leaflet 5.0
- Forms & Validation:
- Formik 2.4
- Yup 1.6
- Routing: React Router 7.1
- HTTP Client: Axios 1.7
- Development Tools:
- TypeScript support
- ESLint 9.20
- Prettier 3.5
- PostCSS 8.5
- Clone the repository:
git clone https://github.com/humbertHoang/airbnb-clone-react.git
cd airbnb-clone-react- Install dependencies:
# Using npm
npm install
# Using pnpm (recommended)
pnpm install-
Set up environment variables: Create a
.envfile in the root directory with necessary environment variables. -
Start the development server:
npm run dev
# or
pnpm devdev- Start development serverbuild- Build for productionpreview- Preview production buildlint- Run ESLint for code quality
src/
├── components/ # Reusable UI components
├── pages/ # Page components
├── redux/ # Redux store and slices
├── utils/ # Utility functions
├── theme/ # Theme configuration
├── App.jsx # Main application component
└── main.jsx # Application entry point
The project uses several configuration files:
vite.config.js- Vite configurationtailwind.config.js- Tailwind CSS configurationeslint.config.js- ESLint configurationpostcss.config.js- PostCSS configuration
Contributions are welcome! Please feel free to submit a Pull Request.
This project is MIT licensed.