How himateja27/factoryiq-manufacturing-management-portal-system works
FactoryIQ is a manufacturing management portal. Users register or sign in, then access a protected dashboard and project, production, quality, and inventory workflows backed by Django REST APIs. The README documents JWT authentication, role-based access, and the domain modules; sampled source confirms frontend routing and profile loading. Backend endpoint wiring and individual domain operations were not sampled, so those relationships are shown only at the documented API and module level.
Main entry points: AppLayout.jsx Authenticated layout · urls.py API routing · settings.py Configured database · App.jsx Routes and provider
Components 27
React application
- SPA entry
frontend/src/main.jsx - Routes and provider
frontend/src/App.jsx - Login and registration
frontend/src/views/LoginPage.jsx - Registration form
frontend/src/views/RegisterPage.jsx - Authenticated layout
frontend/src/ui/AppLayout.jsx - API client
frontend/src/lib/api.js - Dashboard
frontend/src/views/DashboardPage.jsx - Projects interface
frontend/src/views/ProjectsPage.jsx - Production interface
frontend/src/views/ProductionPage.jsx - Quality interface
frontend/src/views/QualityPage.jsx - Inventory interface
frontend/src/views/InventoryPage.jsx
Identity and access
- Route protection
frontend/src/ui/RequireAuth.jsx - Auth state
frontend/src/context/AuthContext.jsx - JWT storage
frontend/src/lib/auth.js - Authentication API
backend/users/views.py - User model
backend/users/models.py
Django API
- API routing
backend/factoryiq/urls.py - Configured database
backend/factoryiq/settings.py
Manufacturing domains
- Projects API
backend/projects/views.py - Project records
backend/projects/models.py - Production API
backend/production/views.py - Production records
backend/production/models.py - Quality API
backend/quality/views.py - Quality records
backend/quality/models.py - Supply chain API
backend/supplychain/views.py - Inventory records
backend/supplychain/models.py
Other components
- Portal user
Connections 32
- Portal user → SPA entry: opens portal
- SPA entry → Routes and provider: mounts
- Routes and provider → Login and registration: routes
- Routes and provider → Registration form: routes
- Routes and provider → Route protection: protects routes
- Route protection → JWT storage: checks token
- Route protection → Authenticated layout: allows access
- Authenticated layout → Dashboard: hosts
- Authenticated layout → Projects interface: hosts
- Authenticated layout → Production interface: hosts
- Authenticated layout → Quality interface: hosts
- Authenticated layout → Inventory interface: hosts
- Login and registration → API client: API requests
- Registration form → API client: API requests
- Auth state → API client: loads profile
- Auth state → JWT storage: reads and clears
- API client → API routing: REST requests
- API routing → Authentication API: routes auth
- API routing → Projects API: routes projects
- API routing → Production API: routes production
- API routing → Quality API: routes quality
- API routing → Supply chain API: routes supply
- Authentication API → User model: manages users
- Projects API → Project records: manages projects
- Production API → Production records: manages records
- Quality API → Quality records: manages records
- Supply chain API → Inventory records: manages inventory
- User model → Configured database: persists
- Project records → Configured database: persists
- Production records → Configured database: persists
- Quality records → Configured database: persists
- Inventory records → Configured database: persists