How jubayerhusain/tutor-sphere-client-site works
Project type and purpose
• This is a full-stack, single-page web application: an Online Tutor Booking Platform.
• It connects learners with tutors, enables secure authentication, tutor listing, booking, reviews, and theming.
File structure
Top-level folders & files:
• public/ — static JSON data (languages, testimonials, tutors)
• src/ — React application code (AuthProvider, Components, Hooks, Layout, Pages, PrivateRoutes, Routes)
• src/firebase — Firebase initialization
• js config files (eslint, tailwind, vite)
• firebase.json & .firebaserc — Firebase Hosting config
• index.html, main.jsx — application entry
Patterns:
• Component-based UI (React)
• Context provider for auth (AuthProvider.jsx)
• Custom hook for secure Axios (useAxiosSecure.jsx)
• Route segregation (public vs. private)
• Data driven from Firebase Auth + Express/Mongo backend
README
• Frontend: React, Tailwind CSS + DaisyUI, AOS for animations
• Backend: Node.js + Express, MongoDB via Mongoose
• Auth & Hosting: Firebase Auth & Hosting for client, Render for server
• Features: tutor search, booking, profile management, reviews, dark/light mode