give me full stack code for my cab booking website where home page contains Header
give me full stack code for my cab booking website where home page contains Header
Header: Include a navigation bar with the company logo, navigation links (e.g., Home, About, Contact)
search form: pick up & drop off address, pickup & drop off date, pickup time.
after clicking in search form there will be new page open which contains
Vehicle card
Thumbnail Image: Show a car image on the left side of each card.
Vehicle Information: Name, type, AC status, seating capacity. Pricing details, including fare and
additional charges.
Icons and Amenities: Display icons for features like fuel type, cancellation policy, and extra amenities.
User Ratings: Add a star rating system with a numerical rating beside it.
Action Button: Include a prominent “Book Now” button with pricing information next to it.
Responsive Design: Ensure the layout adjusts for different screen sizes with mobile-friendly
modifications.
Hover Effects: Add slight scaling and shadow changes when a user hovers over a vehicle card for
interactivity.
Vehicle Types:
Hatchback, Sedan, Premium Sedan, SUV, Premium SUV, Tempo Traveller (13, 17, 21, 24 seater), Bus,
Luxury Bus, Luxury Car.
Base Fares (per day): Hatchback: ₹1200, Sedan: ₹1500, Premium Sedan: ₹1600, SUV: ₹2000, Premium
SUV: ₹2500, Tempo Traveller (13-seater): ₹3000, 17-seater: ₹3500, 21-seater: ₹4000, 24-seater: ₹4500,
Bus: ₹5000, Luxury Bus: ₹6000, Luxury Car: ₹10,000.
Per Km Rates: Hatchback: ₹7, Sedan: ₹8, Premium Sedan: ₹9, SUV: ₹10, Premium SUV: ₹10, Tempo
Traveller (13-seater): ₹12, 17-seater: ₹15, 21-seater: ₹18, 24-seater: ₹20, Bus: ₹25, Luxury Bus: ₹30,
Luxury Car: ₹10.
Special Pricing Rule: For Hatchback, Sedan, and SUV, if the total distance is less than 70 km, only the
base fare is applied with no additional per-km charge.
Core Functionalities:
Booking System: Interface to search and book rides by entering trip details and selecting a vehicle type.
Real-Time Fare Calculation: Implement logic to calculate total fare based on the vehicle, distance, and
specific pricing rules.
Fare Display: Show estimated fare before user confirms the booking.
5. Pricing Algorithm
After clicking book now form there will be new form open which ask basic detail, pick up & drop
off address, pickup & drop off date, pickup time, mobile number, whatsapp number. Then order
confirmation page open. Add a page where use can see his booking details.
Give me the admin panel where I can see the booking form. Admin panel mail id is
[email protected]. Password is Swagat@712
Give me the fully frontend code in js & backend in python. Add google map api for distance calculation.
Make vehicle card interface like this uploaded image.