How desinomeme24/nexgen-capstone works
NexGen is a PHP/MySQL business-management application. Its main user workflow is to sign in, work within an assigned business or branch, and use operational modules for inventory, sales, receivables, and analytics; administrators manage users and workspace requests. Shared configuration and tenant helpers support these workflows, while the chatbot provides a separate assistant capability. The README documents the product areas, but many handlers and integrations were not sampled, so their internal links are left out rather than inferred.
Main entry points: inventory_management.php Inventory management · accounts_receivable.php Accounts receivable · config.php Application configuration · tenant_helper.php Workspace context
Components 24
Access and workspace
- Landing and sign-in
CODE/PHP/index.php - Authentication handlers
CODE/PHP/login_process.php - Registration
CODE/PHP/signup_process.php - Workspace context
CODE/PHP/tenant_helper.php
Business operations
- Inventory management
CODE/PHP/inventory_management.php - Inventory handlers
CODE/PHP - Sales recording
CODE/PHP/sales_recording.php - Sale processing
CODE/PHP/process_sale.php - Accounts receivable
CODE/PHP/accounts_receivable.php
Insights and assistance
- Business dashboard
CODE/PHP/dashboard.php - Sales analytics
CODE/PHP/sales_analytics.php - Chatbot endpoint
CODE/PHP/chatbot.php - Chatbot routing and tools
CODE/PHP/CHATBOT
Administration
- Admin login
CODE/PHP/admin_login.php - Admin dashboard
CODE/PHP/admin_dashboard.php - User management
CODE/PHP/manage_users.php - Workspace requests
CODE/PHP/pending_requests.php - Request review
CODE/PHP/workspace_request_review.php
Shared foundation
- Receivable helpers
CODE/PHP/ar_helper.php - Application configuration
CODE/PHP/config.php - Shared user interface
CODE/PHP/header.php
Other components
- Business user
- System administrator
- MySQL database
Connections 33
- Business user → Landing and sign-in: opens
- Landing and sign-in → Authentication handlers: authenticates
- Business user → Registration: registers
- Business user → Workspace context: selects workspace
- Workspace context → Inventory management: provides context
CODE/PHP/inventory_management.php - Workspace context → Accounts receivable: provides context
CODE/PHP/accounts_receivable.php - Business user → Business dashboard: views
- Business user → Inventory management: manages stock
- Inventory management → Inventory handlers: supports operations
CODE/PHP/inventory_management.php - Business user → Sales recording: records sales
- Sales recording → Sale processing: processes sale
- Business user → Accounts receivable: tracks balances
- Accounts receivable → Receivable helpers: uses helpers
CODE/PHP/accounts_receivable.php - Business user → Sales analytics: reviews analytics
- Business user → Chatbot endpoint: asks questions
- Chatbot endpoint → Chatbot routing and tools: runs agent
CODE/PHP/chatbot.php - System administrator → Admin login: signs in
- System administrator → Admin dashboard: administers system
- System administrator → User management: manages users
- System administrator → Workspace requests: reviews requests
- Workspace requests → Request review: submits review
- Landing and sign-in → Application configuration: loads configuration
CODE/PHP/index.php - Inventory management → Application configuration: loads configuration
CODE/PHP/inventory_management.php - Accounts receivable → Application configuration: loads configuration
CODE/PHP/accounts_receivable.php - Shared user interface → Application configuration: loads configuration
CODE/PHP/header.php - Shared user interface → Workspace context: loads workspace helpers
CODE/PHP/header.php - Application configuration → MySQL database: connects to
- Business dashboard → MySQL database: reads business data
- Inventory management → MySQL database: reads and writes
- Sale processing → MySQL database: records transactions
- Accounts receivable → MySQL database: reads and writes
- Sales analytics → MySQL database: reads sales data
- Admin dashboard → MySQL database: reads admin data