How gustavoresendedev/v2.atividadeescolar works
Nova Era Barbearia is a web-based barbershop booking system: customers browse the site and book a service, while staff sign in to manage appointments. The graph follows the public booking and staff-management workflows through the API, business rules, and SQLite, and includes shared scheduling rules, authentication, and privacy maintenance. README capabilities not visible in the excerpts are represented at their supported module paths; links are limited to documented or excerpted relationships, so some UI-to-API details remain unshown.
Main entry points: app.js HTTP app and API · index.js Server runtime · db.js SQLite store · agenda.js Appointment rules
Components 15
Web experience
- Barbershop site
public/index.html - Online booking
public/js/agendamento.js - Privacy policy
public/privacidade.html - Staff login
public/js/login.js - Agenda panel
public/js/painel.js
Application service
- HTTP app and API
server/app.js - Server runtime
server/index.js - Runtime config
server/config.js
Scheduling domain
- Opening rules
public/js/regras.js - Appointment rules
server/agenda.js
Data and identity
- Session security
server/auth.js - Staff accounts
server/usuarios.js - SQLite store
server/db.js
Other components
- Customer
- Barber / admin
Connections 22
- Customer → Barbershop site: visits
README.md - Customer → Online booking: books through
README.md - Customer → Privacy policy: reads
README.md - Barber / admin → Staff login: signs in
README.md - Barber / admin → Agenda panel: manages agenda
README.md - Online booking → HTTP app and API: uses API
- Staff login → HTTP app and API: uses API
- Agenda panel → HTTP app and API: calls API
public/js/painel.js - Server runtime → Runtime config: loads
server/index.js - Server runtime → SQLite store: opens
server/index.js - Server runtime → Staff accounts: initializes
server/index.js - Server runtime → HTTP app and API: creates
server/index.js - Server runtime → Appointment rules: runs retention
server/index.js - HTTP app and API → Appointment rules: dispatches booking
server/app.js - HTTP app and API → Session security: authenticates
server/app.js - HTTP app and API → SQLite store: serves static files
server/app.js - Appointment rules → Opening rules: uses calendar rules
server/agenda.js - Appointment rules → SQLite store: reads and writes
server/agenda.js - Session security → SQLite store: stores sessions
server/auth.js - Staff accounts → Session security: hashes passwords
server/usuarios.js - Staff accounts → SQLite store: persists accounts
server/usuarios.js - HTTP app and API → Barbershop site: serves pages