"use client"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { useListProjectsProjectsGet } from "@/api/generated/projects/projects"; export default function Home() { const projects = useListProjectsProjectsGet(); return (

Company Mission Control

Orval-generated client + React Query + shadcn-style components.

Projects GET /projects {projects.isLoading ?
Loading…
: null} {projects.error ? (
{(projects.error as Error).message}
) : null} {!projects.isLoading && !projects.error ? (
    {projects.data?.map((p) => (
  • {p.name}
    {p.status}
  • ))} {(projects.data?.length ?? 0) === 0 ? (
  • No projects yet.
  • ) : null}
) : null}
API Docs & health
Docs: /docs
Set NEXT_PUBLIC_API_URL in .env.local (example: http://192.168.1.101:8000).
); }