Simple car rental website built with React + TypeScript. You can browse cars, filter them and add to favorites.
Live demo: https://rental-car-beta-wine.vercel.app
- Home page - just a nice image with a "view catalog" button
- Catalog - list of cars with filtering by brand, price and mileage
- Car details - full info about specific car
- Favorites - save cars to localStorage
- React 19 + TypeScript
- Redux Toolkit for state
- React Router for navigation
- Vite as bundler
- CSS Modules + PostCSS
- Axios for API calls
git clone https://github.com/darkissdark/RentalCar.git
cd RentalCar
npm install
npm run devOpen http://localhost:5173 and you're good to go.
npm run dev- start dev servernpm run build- build for productionnpm run lint- lint code
src/
├── components/ # UI components
├── pages/ # Pages (Home, Catalog, CarDetails)
├── store/ # Redux store
├── services/ # API calls
├── types/ # TypeScript types
└── utils/ # Utility functions
- Universal button - one component for regular buttons and links
- Smart filters - stored in Redux and don't reset on navigation
- Lazy loading - routes load on demand
Deployed on Vercel: https://rental-car-beta-wine.vercel.app
Created by darkissdark
Portfolio: https://darkissdark.github.io/