feat(homelab)!: create interface for homelab management, use templating for route generation & support more options and route types

This commit is contained in:
2026-01-11 14:57:19 -08:00
parent 29cff3bf84
commit 1f43dff2c5
46 changed files with 3908 additions and 109 deletions

View File

@@ -0,0 +1,14 @@
type StatsResponse = {
status: string;
players_online: number;
max_players: number;
uptime: string;
world_size: string;
};
export const fetchStats = async () => {
const response = await fetch(
"http://localhost:5173/api/minecraft-server-stats",
);
return (await response.json()) as StatsResponse;
};