Skip to content

hossainsmshakib/SoraRide-TicketBookingSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SoraRide

SoraRide is an office bus ticket booking system that allows employees to reserve seats for daily commutes efficiently. The system includes an intuitive UI for booking, an admin panel for managing reservations, and local storage for data persistence.

Features

πŸš€ User Features

  • Seat Reservation: Employees can select and book seats for their rides.
  • Real-time Seat Availability: Ensures users can see which seats are available before booking.
  • Mobile-Friendly Interface: Responsive design optimized for different devices.

πŸ” Admin Features

  • Seat Management: View and manage seat allocations.
  • User Booking Data: View reservations and reset seat data if needed.
  • Local Data Persistence: Uses local storage to store booking details.

πŸ› οΈ Tech Stack

  • Frontend: React, TypeScript, Tailwind CSS
  • State Management: Redux
  • Routing: React Router
  • Icons: React Icons
  • Notifications: React Toastify

πŸ“‚ Project Structure

/soraride
β”œβ”€β”€ /src
β”‚   β”œβ”€β”€ /components
β”‚   β”‚   β”œβ”€β”€ Navbar.tsx
β”‚   β”œβ”€β”€ /pages
β”‚   β”‚   β”œβ”€β”€ SeatUI.tsx
β”‚   β”‚   β”œβ”€β”€ BookingForm.tsx
β”‚   β”‚   β”œβ”€β”€ AdminPanel.tsx
β”‚   β”œβ”€β”€ /utils
β”‚   β”‚   β”œβ”€β”€ localStorage.ts
β”‚   β”œβ”€β”€ App.tsx
β”‚   β”œβ”€β”€ main.tsx
β”‚
β”œβ”€β”€ package.json
β”œβ”€β”€ README.md

βš™οΈ Installation & Setup

  1. Clone the repository:
    git clone https://github.com/yourusername/soraride.git
  2. Navigate to the project directory:
    cd soraride
  3. Install dependencies:
    npm install
  4. Start the development server:
    npm run dev
  5. Open http://localhost:5173/ in your browser.

πŸ—οΈ Usage

  1. Booking Seats: Select available seats on the homepage and confirm your reservation.
  2. Admin Panel: Navigate to /admin to manage bookings.
  3. Reset Data: Admins can clear all bookings in development mode.

πŸ”§ Customization

  • Modify Navbar.tsx to adjust branding.
  • Update SeatUI.tsx to customize seat layouts.
  • Change Tailwind styles in index.css.

πŸ“œ License

MIT License. See LICENSE for details.

βœ‰οΈ Contact

For support, reach out at your.email@example.com.

About

Effortless Commutes for office going people 🚌

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published