How bhawna-ai/bookeasy works
BookEasy lets customers browse service categories, submit appointment details, and retrieve bookings by email; businesses use a login and dashboard to manage bookings. The backend exposes booking and health endpoints, while a Mongoose model defines booking data and generates references. Frontend behavior beyond the excerpt is represented only where the README documents it; the dashboard’s specific API interactions are not shown in sampled source.
Main entry points: server.js REST API · dashboard.html Booking dashboard · index.html Service catalog · booking.html Booking form
Components 12
Customer booking
- Service catalog
frontend/index.html - Category listings
frontend/restaurants.html - Booking form
frontend/booking.html - Booking interactions
frontend/booking.js
Business management
- Business login
frontend/business-login.html - Booking dashboard
frontend/dashboard.html
Booking backend
- REST API
backend/server.js - Booking model
backend/models/Booking.js - MongoDB
Other components
- Customer
- Business user
- Health monitor
Connections 12
- Customer → Service catalog: browses
README.md - Service catalog → Category listings: offers categories
README.md - Customer → Booking form: enters details
README.md - Booking form → Booking interactions: uses
README.md - Booking interactions → REST API: submits and looks up
frontend/booking.js - REST API → Booking model: queries and saves
backend/server.js - REST API → MongoDB: reads and writes
backend/server.js - Business user → Business login: signs in
README.md - Business login → Booking dashboard: opens
README.md - Business user → Booking dashboard: manages bookings
README.md - Booking dashboard → REST API: manages bookings
README.md - Health monitor → REST API: checks health
README.md