How med-chaouki/ongliss works
Ongliss is a beauty-salon landing page with an online appointment flow. Visitors browse the salon’s story and priced services, then choose a service, date, and time and submit contact details. The booking form fetches availability and posts reservations to a Google Apps Script backend, which checks reservations in Google Sheets. The React app also presents salon branding, navigation, and social contact links. The booking excerpt omits the endpoint value, so the frontend-to-backend connection is shown as unverified; other edges follow visible imports, calls, or links.
Main entry points: App.jsx React app · BookingForm.jsx Booking form · google-apps-script.js Booking API · Services.jsx Service menu
Components 16
Salon website
- React app
src/App.jsx - Site navigation
src/components/Header.jsx - Salon landing
src/components/Hero.jsx - Salon story
src/components/NotreUnivers.jsx - Service menu
src/components/Services.jsx - Salon footer
src/components/Footer.jsx
Appointment booking
- Booking form
src/components/BookingForm.jsx - Availability lookup
src/components/BookingForm.jsx - Service and slot selection
src/components/BookingForm.jsx - Appointment submission
src/components/BookingForm.jsx
Reservation backend
- Booking API
scripts/google-apps-script.js - Reservation maintenance
scripts/google-apps-script.js - Reservation sheet
Contact channels
- Floating social links
src/components/FloatingSocials.jsx
Other components
- Visitor
- Social platforms
Connections 20
- Visitor → React app: opens
- React app → Site navigation: renders
src/App.jsx - React app → Salon landing: renders
src/App.jsx - React app → Salon story: renders
src/App.jsx - React app → Service menu: renders
src/App.jsx - React app → Booking form: renders
src/App.jsx - React app → Floating social links: renders
src/App.jsx - React app → Salon footer: renders
src/App.jsx - Visitor → Booking form: starts booking
- Service menu → Booking form: links to booking
src/components/Services.jsx - Booking form → Availability lookup: loads slots
src/components/BookingForm.jsx - Booking form → Service and slot selection: collects choices
src/components/BookingForm.jsx - Booking form → Appointment submission: submits details
src/components/BookingForm.jsx - Availability lookup → Booking API: requests availability
- Appointment submission → Booking API: posts reservation
- Booking API → Reservation sheet: reads and writes
scripts/google-apps-script.js - Booking API → Reservation maintenance: sorts reservations
scripts/google-apps-script.js - Reservation maintenance → Reservation sheet: cleans and sorts
scripts/google-apps-script.js - Floating social links → Social platforms: links to
src/components/FloatingSocials.jsx - Salon footer → Social platforms: links to
src/components/Footer.jsx