Skip to content
// Application◌ WIP

Bauhaus Logistics Dashboard

Logistics intelligence, scheduling, and order tracking for Bauhaus Slovenia

Bauhaus Logistics Dashboard screenshot

About

A full-stack internal dashboard for Bauhaus Slovenia's logistics department. Combines real-time supply chain analytics (pallets, transport, suppliers) with BKU customer order management and AI-powered monthly worker scheduling (Urnik) — including shift planning, validation, Excel export, and automated compliance checks.

Tech Stack

Next.js 16React 19TypeScriptSupabaseAnthropic Claude APITailwind CSS 4XLSXReact-PDFResendVercel

Info

Category
Application
Status
WIP
Technologies
10

Architecture

palletstrackcontextoptimizerender📦Supply Data📋BKU OrdersSupabase🧠Claude AI📅SchedulerDashboard

Code Preview

TypeScriptschedule_optimizer.ts
1async function generateSchedule(month: Date) {
2 const workers = await db.from("workers").select("*");
3 const constraints = await db.from("rules").select("*");
4
5 const prompt = buildSchedulePrompt({
6 workers,
7 constraints,
8 holidays: getHolidays(month),
9 previousMonth: await getLastSchedule(month),
10 });
11
12 const schedule = await anthropic.messages.create({
13 model: "claude-sonnet-4-20250514",
14 messages: [{ role: "user", content: prompt }],
15 });
16
17 const parsed = parseScheduleResponse(schedule);
18 const violations = validateCompliance(parsed);
19
20 if (violations.length === 0) {
21 return exportToExcel(parsed);
22 }
23 return { schedule: parsed, violations };
24}