How rofiqulisalm/zm-factoryos works
FactoryOS is the main product: a factory-operations application with public pages, authentication, production/job-order screens, administration, and management dashboards. Users enter through its web app; authentication is handled by the API server, while the tree indicates broader factory routes and shared database/API packages. The mockup sandbox is a separate component-preview app. No README was provided, and most feature routes and dashboard data wiring were not sampled, so those connections are shown only where supported.
Main entry points: App.tsx FactoryOS app · app.ts API application · AuthPage.tsx Sign-in and password · auth.ts Authentication routes
Components 15
FactoryOS interface
- FactoryOS app
artifacts/zm-factoryos/src/App.tsx - Public pages
artifacts/zm-factoryos/src/components/public/LandingPage.tsx - Sign-in and password
artifacts/zm-factoryos/src/components/public/AuthPage.tsx - Production orders
artifacts/zm-factoryos/src/components/production/AllFactoryOrdersPage.tsx - Management dashboard
artifacts/zm-factoryos/src/components/dashboard/DashboardKpiCards.tsx - Section administration
artifacts/zm-factoryos/src/components/admin/ManageSectionsPage.tsx
API and identity
- API application
artifacts/api-server/src/app.ts - Authentication routes
artifacts/api-server/src/routes/auth.ts - Session and credentials
artifacts/api-server/src/middlewares/auth.ts - Factory routes
artifacts/api-server/src/routes/factory.ts
Shared packages
- Database access
lib/db/src/index.ts - Database schema
lib/db/src/schema/index.ts - React API client
lib/api-client-react/src/index.ts
Mockup preview
- Preview app
artifacts/mockup-sandbox/src/App.tsx
Other components
- Factory staff
Connections 13
- Factory staff → FactoryOS app: uses
- FactoryOS app → Public pages: renders pages
- FactoryOS app → Sign-in and password: routes to
- FactoryOS app → Production orders: routes to
- FactoryOS app → Management dashboard: renders
- FactoryOS app → Section administration: routes to
- API application → Authentication routes: mounts
- API application → Factory routes: mounts
- Authentication routes → Session and credentials: calls
- Session and credentials → Database access: reads and writes
- Database access → Database schema: uses schema
- Sign-in and password → React API client: uses query key
- Factory staff → Preview app: opens preview