How yaahaablyaa/peppv7 works
Peppv7 is a restaurant staff-management system combining a Telegram bot and employee/manager web app. Staff sign in or link their account, then use self-service attendance, schedules and staff resources; managers administer staff and schedules, while analytics and payroll support oversight. The graph separates entry points, workforce operations, employee capabilities and persistence. The README provides only the product name; feature coverage also reflects the sampled source and SOURCE INDEX, so links from unsampled web views to API routes are omitted.
Main entry points: api.js Mini app API · bot.js Bot setup · staff.js Staff directory · app.js Web app shell
Components 24
Application entry points
- Web server
restaurant-staff-bot/server.js - Bot setup
restaurant-staff-bot/bot.js - Web app shell
restaurant-staff-bot/webapp/app.js - Analytics view
restaurant-staff-bot/webapp/analytics.js - Learning view
restaurant-staff-bot/webapp/learning.js - Applications view
restaurant-staff-bot/webapp/applications.js
Workforce operations
- Staff bot flows
restaurant-staff-bot/handlers/staff.js - Shift bot flows
restaurant-staff-bot/handlers/shifts.js - Staff directory
restaurant-staff-bot/lib/staff.js - Employee identity
restaurant-staff-bot/lib/employees.js - Roles and access
restaurant-staff-bot/lib/roles.js - Shift planning
restaurant-staff-bot/lib/shifts.js
Employee services
- Mini app API
restaurant-staff-bot/lib/api.js - Attendance
restaurant-staff-bot/lib/attendance.js - Learning content
restaurant-staff-bot/lib/learning.js
Analytics and learning
- Analytics
restaurant-staff-bot/lib/analytics.js - Analytics reports
restaurant-staff-bot/lib/analytics-report.js - Payroll calculations
restaurant-staff-bot/lib/salary.js - Business time
restaurant-staff-bot/lib/time.js
Persistence
- Schema and migrations
restaurant-staff-bot/lib/schema.js - Database adapter
restaurant-staff-bot/lib/db-adapter.js - SQLite database
restaurant-staff-bot/seed/database.db
Other components
- Staff and managers
- Telegram platform
Connections 39
- Staff and managers → Telegram platform: uses bot
- Staff and managers → Web server: uses web app
restaurant-staff-bot/server.js - Web server → Bot setup: starts
restaurant-staff-bot/server.js - Web server → Database adapter: opens database
restaurant-staff-bot/server.js - Web server → Web app shell: serves static app
restaurant-staff-bot/server.js - Bot setup → Schema and migrations: initializes
restaurant-staff-bot/bot.js - Bot setup → Mini app API: registers routes
restaurant-staff-bot/bot.js - Bot setup → Staff bot flows: registers flows
restaurant-staff-bot/bot.js - Bot setup → Shift bot flows: registers flows
restaurant-staff-bot/bot.js - Staff bot flows → Staff directory: manages staff
restaurant-staff-bot/handlers/staff.js - Shift bot flows → Shift planning: plans shifts
restaurant-staff-bot/handlers/shifts.js - Shift bot flows → Staff directory: looks up staff
restaurant-staff-bot/handlers/shifts.js - Staff directory → Employee identity: uses identity
restaurant-staff-bot/lib/staff.js - Staff directory → Roles and access: derives roles
restaurant-staff-bot/lib/staff.js - Mini app API → Attendance: handles check-in
restaurant-staff-bot/lib/api.js - Mini app API → Analytics: registers analytics
restaurant-staff-bot/lib/api.js - Mini app API → Analytics reports: registers reports
restaurant-staff-bot/lib/api.js - Mini app API → Learning content: registers learning
restaurant-staff-bot/lib/api.js - Mini app API → Employee identity: resolves employees
restaurant-staff-bot/lib/api.js - Mini app API → Payroll calculations: uses payroll
restaurant-staff-bot/lib/api.js - Mini app API → Shift planning: serves schedules
restaurant-staff-bot/lib/api.js - Mini app API → Staff directory: serves staff actions
restaurant-staff-bot/lib/api.js - Mini app API → Roles and access: checks permissions
restaurant-staff-bot/lib/api.js - Attendance → Business time: uses business time
restaurant-staff-bot/lib/attendance.js - Analytics → Payroll calculations: uses payroll
restaurant-staff-bot/lib/analytics.js - Analytics → Roles and access: uses role data
restaurant-staff-bot/lib/analytics.js - Analytics reports → Payroll calculations: uses payroll
restaurant-staff-bot/lib/analytics-report.js - Analytics reports → Business time: uses business time
restaurant-staff-bot/lib/analytics-report.js - Payroll calculations → Business time: uses business time
restaurant-staff-bot/lib/salary.js - Learning content → Business time: uses business time
restaurant-staff-bot/lib/learning.js - Schema and migrations → SQLite database: creates tables
restaurant-staff-bot/lib/schema.js - Attendance → SQLite database: reads and writes
restaurant-staff-bot/lib/attendance.js - Payroll calculations → SQLite database: reads attendance
restaurant-staff-bot/lib/salary.js - Staff directory → SQLite database: reads and writes
restaurant-staff-bot/lib/staff.js - Mini app API → Web app shell: serves API data
- Telegram platform → Bot setup: sends updates
- Web app shell → Analytics view: shows analytics
- Web app shell → Learning view: shows learning
- Web app shell → Applications view: shows applications