How tanjir217/british-standard-driving-academy works
British Standard Driving Academy is a React multi-page driving-school demo. Visitors explore lesson paths, instructors and packages, then submit a booking inquiry and choose a demo payment method; students can use the login flow and preview portal. Routing is explicit, and the sampled booking and package services use Wix. The README identifies calendar availability, payment processing and a fully authenticated portal as future integrations, not current capabilities. Unsampled service modules are included as mapped subsystems, but their internal calls are not inferred.
Main entry points: App.tsx Route dispatcher · Home.tsx Home page · site.ts Academy content · authService.ts Member authentication
Components 25
Public experience
- Route dispatcher
src/App.tsx - Home page
src/pages/Home.tsx - Lesson paths
src/pages/Lessons.tsx - Instructor directory
src/pages/Instructors.tsx - Instructor detail
src/pages/InstructorDetail.tsx - FAQ page
src/pages/FAQ.tsx - Academy content
src/data/site.ts - FAQ accordion
src/components/FAQSection.tsx - Social feed
src/components/SocialFeed.tsx - Video showcase
src/components/VideoShowcase.tsx
Booking and catalog
- Booking inquiry
src/pages/Booking.tsx - Package selection
src/pages/Packages.tsx
Student access
- Login and registration
src/pages/Login.tsx - Auth callback
src/pages/AuthCallback.tsx - Learning portal
src/pages/Portal.tsx
Application services
- Package service
src/services/packages/packageService.ts - Booking service
src/services/bookings/bookingService.ts - Lesson service
src/services/lessons/lessonService.ts - Instructor service
src/services/instructors/instructorService.ts - Student service
src/services/students/studentService.ts - Payment service
src/services/payments/paymentService.ts - Member authentication
src/services/auth/authService.ts
Wix integration
- Wix client
src/services/wix/client.ts
Other components
- Visitor
- Wix platform
Connections 31
- Visitor → Route dispatcher: opens
src/App.tsx - Route dispatcher → Home page: routes to
src/App.tsx - Route dispatcher → Booking inquiry: routes to
src/App.tsx - Route dispatcher → Package selection: routes to
src/App.tsx - Route dispatcher → Lesson paths: routes to
src/App.tsx - Route dispatcher → Instructor directory: routes to
src/App.tsx - Route dispatcher → Instructor detail: routes to
src/App.tsx - Route dispatcher → FAQ page: routes to
src/App.tsx - Route dispatcher → Login and registration: routes to
src/App.tsx - Route dispatcher → Auth callback: routes to
src/App.tsx - Route dispatcher → Learning portal: routes to
src/App.tsx - Home page → Academy content: reads content
src/pages/Home.tsx - Home page → FAQ accordion: renders
src/pages/Home.tsx - Home page → Social feed: renders
src/pages/Home.tsx - Home page → Video showcase: renders
src/pages/Home.tsx - FAQ page → FAQ accordion: renders
src/pages/FAQ.tsx - FAQ accordion → Academy content: reads FAQs
src/components/FAQSection.tsx - Lesson paths → Academy content: reads content
src/pages/Lessons.tsx - Instructor directory → Academy content: reads content
src/pages/Instructors.tsx - Instructor detail → Academy content: reads content
src/pages/InstructorDetail.tsx - Booking inquiry → Package service: loads packages
src/pages/Booking.tsx - Booking inquiry → Booking service: submits inquiry
src/pages/Booking.tsx - Package selection → Package service: loads packages
src/pages/Packages.tsx - Package selection → Booking service: uses bookings
src/pages/Packages.tsx - Package service → Wix client: queries plans
src/services/packages/packageService.ts - Booking service → Wix client: queries bookings
src/services/bookings/bookingService.ts - Login and registration → Member authentication: authenticates
src/pages/Login.tsx - Auth callback → Member authentication: completes login
src/pages/AuthCallback.tsx - Learning portal → Member authentication: checks session
src/pages/Portal.tsx - Member authentication → Wix client: uses auth
src/services/auth/authService.ts - Wix client → Wix platform: calls platform