initial release testing
This commit is contained in:
11
app/api/health/route.ts
Normal file
11
app/api/health/route.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { NextResponse } from "next/server";
|
||||
import { getDashboardStats } from "@/lib/repository";
|
||||
|
||||
export function GET() {
|
||||
return NextResponse.json({
|
||||
status: "ok",
|
||||
timestamp: new Date().toISOString(),
|
||||
modules: ["parts", "assemblies", "sales-orders", "purchase-orders", "customers", "vendors", "accounting"],
|
||||
stats: getDashboardStats()
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user