A modern React-based rental platform built with Vite, Redux Toolkit, and Supabase.
- User authentication with Supabase
- Product listing and management
- Rental system
- Responsive design
- State management with Redux Toolkit
- React 18
- Vite
- Redux Toolkit
- React Router DOM
- Supabase
- ESLint
- CSS Modules
- Node.js (v16 or higher)
- npm or yarn
- Supabase account and project
- Clone the repository:
git clone https://github.com/yourusername/VrentFrontEnd.git
cd VrentFrontEnd- Install dependencies:
npm install
# or
yarn install- Create a
.envfile in the root directory and add your Supabase credentials:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key- Start the development server:
npm run dev
# or
yarn dev- Open http://localhost:5173 in your browser.
src/
├── assets/ # Static assets (images, fonts, etc.)
├── components/ # Reusable UI components
├── features/ # Feature-specific components and logic
├── hooks/ # Custom React hooks
├── layouts/ # Layout components
├── pages/ # Page components
├── services/ # API and external service integrations
├── store/ # Redux store configuration
├── styles/ # Global styles and theme
├── types/ # TypeScript type definitions
└── utils/ # Utility functions and helpers
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLintnpm run format- Format code with Prettier
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.