How nemel11iinee/lumiere-backend works
Lumiere is an ASP.NET Core API for a beauty-salon website. The principal customer workflow is to authenticate, browse salon services, and create or cancel appointments; administrators manage users and services and review activity. Authentication also covers refresh tokens and password recovery, while user profiles support avatar management. The README documents online-user tracking and role-based access. Controller and data-access links are grounded in sampled source where available; some controller capabilities are documented or evident from the tree but their implementation was not sampled.
Main entry points: ApplicationDbContext.cs EF data access · AuthController.cs Authentication · LoggingService.cs Activity logging · AppointmentsController.cs Appointments
Components 13
Customer workflows
- Service catalog
Lumiere.Backend/Controllers/ServicesController.cs - Appointments
Lumiere.Backend/Controllers/AppointmentsController.cs - Contact messages
Lumiere.Backend/Controllers/ContactController.cs
Identity and profiles
- Authentication
Lumiere.Backend/Controllers/AuthController.cs - JWT tokens
Lumiere.Backend/Services/Auth/TokenService.cs - User profiles
Lumiere.Backend/Controllers/UsersController.cs
Administration and audit
- Admin operations
Lumiere.Backend/Controllers/AdminController.cs - Log queries
Lumiere.Backend/Controllers/LogsController.cs
Persistence and logging
- EF data access
Lumiere.Backend/Data/ApplicationDbContext.cs - Activity logging
Lumiere.Backend/Services/LoggingService.cs
Other components
- Website user
- Administrator
- PostgreSQL
Connections 21
- Website user → Authentication: authenticates
- Website user → User profiles: manages profile
- Website user → Service catalog: browses
- Website user → Appointments: books or cancels
- Website user → Contact messages: sends message
- Administrator → Authentication: authenticates
- Administrator → Admin operations: manages
- Administrator → Log queries: reviews activity
- Authentication → JWT tokens: creates tokens
- Authentication → EF data access: reads and writes
- User profiles → EF data access: reads and writes
- User profiles → Activity logging: records actions
- Service catalog → EF data access: reads services
- Appointments → EF data access: reads and writes
- Appointments → Activity logging: records actions
- Contact messages → EF data access: stores messages
- Admin operations → EF data access: reads and writes
- Admin operations → Activity logging: records actions
- Log queries → EF data access: queries logs
- Activity logging → EF data access: stores entries
- EF data access → PostgreSQL: persists data