Cox's SeaSide Bike is a comprehensive platform for bike rentals in the Cox's Bazar area. It provides users with an easy way to browse, book, and manage bike rentals. The platform is designed with both regular users and administrators in mind, offering a seamless experience for all.
- Navbar:
- Logo linked to the home page.
- Menu items: Home, About Us, Bike List, Manage Bikes (Admin), User Profile.
- Authentication links: "Login/Sign Up" for guests, "Logout" for logged-in users.
- Footer:
- Social media icons linking to the platform's profiles.
- Website links: Privacy Policy, Terms of Service, Contact Us.
- Hero Section:
- Background image or video related to bikes.
- Call-to-action and search bar for bike availability.
- Featured Section:
- Displays available bikes with images, brand names, and a "View Detail" button.
- Why Choose Us:
- Highlights competitive pricing, wide selection, and excellent customer service.
- Testimonials:
- Quotes from satisfied customers.
- Coupons & Discounts:
- Showcases current promotions, discounts, and coupon codes.
- Sign Up & Login Pages:
- Users can create an account or log in.
- Role-based access control with default "USER" and an initial "ADMIN" role.
- Protected Routes:
- Certain pages are accessible only to logged-in users or admins.
- Profile Page:
- Displays user details like Name, Email, Phone, and Address.
- Allows users to update their profile information.
- Bike Listing Page:
- Lists available bikes with details like brand, model, price, and availability.
- Includes filters to narrow down bike options.
- Bike Detail Page:
- Detailed information about selected bikes.
- "Book Now" button redirects to the booking process.
- Booking Process:
- Users can book bikes by selecting a start time.
- Payment via AmarPay with an advance payment of Tk 100.
- Successful payment confirms the booking and updates bike availability.
- My Rentals Page:
- Users can view and manage rentals with "Paid" and "Unpaid" tabs.
- The "Pay" button for unpaid rentals redirects to AmarPay.
- Bike Management:
- Admins can create, update, or delete bikes with prefilled forms for editing.
- User Management:
- Admins can delete users or promote them to "ADMIN" role.
- Return Bike:
- Admins can manage the return process and update rental statuses.
- Coupon Management (Bonus):
- Admins can create and manage coupon codes.
- AmarPay:
- Integrated AmarPay as the payment gateway for processing payments securely.
To run this project locally, follow these steps:
# Clone the repository
git clone https://github.com/your-repo-link.git
# Navigate to the project directory
cd coxs-seaside-bike
# Install dependencies
npm install
# Run the development server
npm run dev
For support, email [email protected]