feat: Introduce FastAPI application factory, static assets, and database, configuring core routing, middleware, and service lifecycle.
Some checks failed
Tests / Backend Tests (Python) (3.10) (push) Has been cancelled
Tests / Backend Tests (Python) (3.11) (push) Has been cancelled
Tests / Backend Tests (Python) (3.12) (push) Has been cancelled
Tests / Frontend Tests (JS) (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / All Tests Passed (push) Has been cancelled

This commit is contained in:
Bruno Charest 2026-03-04 07:28:46 -05:00
parent c81965326a
commit 6729e153c2
11 changed files with 10 additions and 10 deletions

View File

@ -119,7 +119,7 @@ def create_app() -> FastAPI:
</style> </style>
</head> </head>
<body> <body>
<h1>🏠 Homelab Automation API</h1> <h1><img src="/static/icons/icon-192x192.png" alt="Logo" style="width: 32px; height: 32px; vertical-align: middle; margin-right: 8px;"> Homelab Automation API</h1>
<p>API REST pour la gestion automatisée de votre homelab avec Ansible.</p> <p>API REST pour la gestion automatisée de votre homelab avec Ansible.</p>
<div class="links"> <div class="links">
<a href="/docs">📚 Documentation Swagger</a> <a href="/docs">📚 Documentation Swagger</a>

BIN
app/icons/icon-192x192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
app/icons/icon-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

BIN
app/icons/icon.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

View File

@ -3640,8 +3640,8 @@
<!-- Login Form --> <!-- Login Form -->
<div id="login-form-container" class="glass-card p-8"> <div id="login-form-container" class="glass-card p-8">
<div class="text-center mb-8"> <div class="text-center mb-8">
<div class="w-16 h-16 bg-gradient-to-br from-purple-600 to-blue-600 rounded-2xl flex items-center justify-center mx-auto mb-4"> <div class="w-16 h-16 flex items-center justify-center mx-auto mb-4">
<i class="fas fa-server text-white text-2xl"></i> <img src="/static/icons/logo-transparent.png" alt="Homelab Logo" class="w-full h-full object-contain drop-shadow-lg">
</div> </div>
<h1 class="text-2xl font-bold gradient-text mb-2">Homelab Dashboard</h1> <h1 class="text-2xl font-bold gradient-text mb-2">Homelab Dashboard</h1>
<p class="text-gray-400">Connectez-vous pour continuer</p> <p class="text-gray-400">Connectez-vous pour continuer</p>
@ -3706,8 +3706,8 @@
<!-- Setup Form (first user creation) --> <!-- Setup Form (first user creation) -->
<div id="setup-form-container" class="glass-card p-8 hidden"> <div id="setup-form-container" class="glass-card p-8 hidden">
<div class="text-center mb-8"> <div class="text-center mb-8">
<div class="w-16 h-16 bg-gradient-to-br from-green-600 to-emerald-600 rounded-2xl flex items-center justify-center mx-auto mb-4"> <div class="w-16 h-16 flex items-center justify-center mx-auto mb-4">
<i class="fas fa-user-plus text-white text-2xl"></i> <img src="/static/icons/logo-transparent.png" alt="Homelab Logo" class="w-full h-full object-contain drop-shadow-lg">
</div> </div>
<h1 class="text-2xl font-bold gradient-text mb-2">Configuration Initiale</h1> <h1 class="text-2xl font-bold gradient-text mb-2">Configuration Initiale</h1>
<p class="text-gray-400">Créez votre compte administrateur</p> <p class="text-gray-400">Créez votre compte administrateur</p>
@ -3853,8 +3853,8 @@
<aside id="mobile-nav-sidebar" class="mobile-nav-sidebar"> <aside id="mobile-nav-sidebar" class="mobile-nav-sidebar">
<div class="mobile-nav-header"> <div class="mobile-nav-header">
<div class="flex items-center space-x-3"> <div class="flex items-center space-x-3">
<div class="w-8 h-8 bg-gradient-to-br from-purple-600 to-blue-600 rounded-lg flex items-center justify-center"> <div class="w-8 h-8 flex items-center justify-center">
<i class="fas fa-server text-white text-sm"></i> <img src="/static/icons/logo-transparent.png" alt="Homelab Logo" class="w-full h-full object-contain">
</div> </div>
<span class="font-bold gradient-text">Homelab</span> <span class="font-bold gradient-text">Homelab</span>
</div> </div>
@ -3918,8 +3918,8 @@
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
<!-- Logo --> <!-- Logo -->
<div class="flex items-center space-x-3 cursor-pointer" onclick="navigateTo('dashboard')"> <div class="flex items-center space-x-3 cursor-pointer" onclick="navigateTo('dashboard')">
<div class="w-9 h-9 sm:w-10 sm:h-10 bg-gradient-to-br from-purple-600 to-blue-600 rounded-lg flex items-center justify-center"> <div class="w-9 h-9 sm:w-10 sm:h-10 flex items-center justify-center">
<i class="fas fa-server text-white text-base sm:text-lg"></i> <img src="/static/icons/logo-transparent.png" alt="Homelab Logo" class="w-full h-full object-contain">
</div> </div>
<h1 class="text-lg sm:text-xl font-bold gradient-text hidden sm:block">Homelab Dashboard</h1> <h1 class="text-lg sm:text-xl font-bold gradient-text hidden sm:block">Homelab Dashboard</h1>
<h1 class="text-lg font-bold gradient-text sm:hidden">Homelab</h1> <h1 class="text-lg font-bold gradient-text sm:hidden">Homelab</h1>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

File diff suppressed because one or more lines are too long