🎟️ TicketBari — Client Side
TicketBari is a modern Online Ticket Booking Platform where users can discover and book tickets for Bus, Train, Launch, and Plane .
This repository contains the frontend (client side) of the application, built with React and Vite .
Goal
Description
User Experience
Provide a smooth and user-friendly ticket booking flow
Role Management
Support User, Vendor, and Admin dashboards
Security
Secure authentication and protected routes
Scalability
Follow modern React architecture and best practices
UI/UX
Clean, responsive, recruiter-friendly design
Feature
Status
Email & Password Login
✅
Google Social Login
✅
Firebase Authentication
✅
Password Validation
✅
Protected Routes
✅
Persistent Login on Reload
✅
Section
Description
Hero Banner
Slider showcasing platform highlights
Advertisement Tickets
6 admin-selected tickets
Latest Tickets
Recently added tickets
Responsive Design
Mobile, Tablet & Desktop
Feature
Description
All Tickets Page
Shows admin-approved tickets only
Search
From → To location search
Filter
Filter by transport type
Sort
Price (Low → High / High → Low)
Pagination
6–9 tickets per page
Ticket Details
Full ticket info with countdown
Booking Rules
Quantity & time-based validation
Page
Functionality
Profile
View user information
My Booked Tickets
Booking status & countdown
Payment
Stripe payment after vendor approval
Transaction History
Payment records
Page
Functionality
Vendor Profile
View vendor information
Add Ticket
Create new ticket (pending approval)
My Added Tickets
Update / delete tickets
Requested Bookings
Accept or reject bookings
Revenue Overview
Charts & statistics
Page
Functionality
Admin Profile
View admin details
Manage Tickets
Approve / Reject tickets
Manage Users
Assign roles, mark fraud
Advertise Tickets
Control homepage ads (max 6)
Category
Packages
Core
react, react-dom
Routing
react-router
Styling
tailwindcss, daisyui
Icons
lucide-react, react-icons
Data Fetching
@tanstack/react-query, axios
Forms
react-hook-form
Authentication
firebase
Payment
stripe
Animation
framer-motion
Slider
swiper, react-responsive-carousel
Charts
recharts
Notifications
react-hot-toast, sweetalert2
Step
Command
Clone Repo
git clone https://github.com/shohan12727/TicketBari-client
Install Packages
npm install
Run Development
npm run dev
Build Project
npm run build
© 2025 TicketBari . All rights reserved.