RideX offers an intuitive booking system for renting bikes, managing rentals, and applying discounts to rentals.
This UI project for RideX offers a smooth user experience with responsive designs, easy bike management, and an integrated coupon system for discounts. Users can book bikes, manage rentals, and apply winning coupons from a spin wheel feature.
- User Authentication (Sign Up, Login)
- Bike Browsing, Filtering & Sorting
- Side by side bike comparison
- Bike Booking and Rental Management
- Coupon Integration for Discounts
- User & Admin Dashboards
- Profile management
- Theme switcher (Toggle between light and dark mode)
- Responsive Design for mobile, tablet, and desktop
- Improved UI/UX with animation and transition
- React, TypeScript, Redux Toolkit, RTK Query, Tailwind CSS, Shadcn
- Node.js and npm/yarn installed.
- Any Web browser to view the application
Follow this step-by-step guide to run the server on your local machine.
- Node.js and npm/yarn installed.
- Any Web browser to view the application.
First, clone the repository to your machine using the following command:
git clone https://github.com/saifscripts/ridex-client
Next, navigate to the project directory with this command:
cd ridex-client
Before running the app, you need to install all dependencies. You can do this using either Yarn or npm.
yarn install
npm install
To run the app, create a .env file in the root folder with the following properties (I have included a few demo values here for testing):
VITE_BASE_URL=http://localhost:5000
Now, you're ready to run the app. Use one of the following commands to start the server.
yarn dev
npm run dev
That's it! The application should now be running locally.
- Sign up for an account to start using the service.
- Navigate to the "All Bikes" page to browse available bikes.
- Utilize search, filter, and sorting options to find the perfect bike.
- If needed, use the compare feature to compare multiple bikes side by side.
- Click on a bike to view its detailed specifications and availability.
- Choose your bike and initiate the rental by paying a 100 BDT advance.
- Head to your dashboard to monitor your rental status.
- Return the bike in person at the designated location.
- Once the bike is returned, pay the remaining balance on the "My Rental" page.
- Navigate to the "Manage Rental" page.
- Select the return time to calculate the total rental cost.
- Mark the bike as returned once the process is complete.
- Manage bikes, coupons, and users directly from the dashboard.