Files
factoryOps-v2/dashboard/app/providers.tsx
Johngreen ab2a3e35b2 feat: Phase 0-2 complete — auth, machines, equipment parts with full CRUD
Multi-tenant factory inspection system (SpiFox, Enkid, Alpet):
- FastAPI backend with JWT auth, PostgreSQL (asyncpg)
- Next.js 16 frontend with App Router, SWR data fetching
- Machines CRUD with equipment parts management
- Part lifecycle tracking (hours/count/date) with counters
- Partial unique index for soft-delete support
- 24 pytest tests passing, E2E verified

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-02-10 12:05:22 +09:00

19 lines
497 B
TypeScript

'use client';
import { AuthProvider } from '@/lib/auth-context';
import { TenantProvider } from '@/lib/tenant-context';
import { ToastProvider } from '@/lib/toast-context';
import { AuthGuard } from '@/components/AuthGuard';
export function Providers({ children }: { children: React.ReactNode }) {
return (
<AuthProvider>
<TenantProvider>
<ToastProvider>
<AuthGuard>{children}</AuthGuard>
</ToastProvider>
</TenantProvider>
</AuthProvider>
);
}