This commit is contained in:
2025-06-02 16:34:47 +03:00
parent 8523328b9f
commit 35ad2ebcab
9 changed files with 265 additions and 26 deletions

54
app/index.html Normal file
View File

@@ -0,0 +1,54 @@
<!doctype html>
<html>
<head>
<title>Добро пожаловать в API</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
line-height: 1.6;
color: #333;
}
h1 {
color: #2c3e50;
border-bottom: 2px solid #3498db;
padding-bottom: 10px;
}
ul {
list-style: none;
padding: 0;
}
li {
margin: 15px 0;
}
a {
display: inline-block;
padding: 8px 15px;
background-color: #3498db;
color: white;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s;
}
a:hover {
background-color: #2980b9;
}
p {
margin: 5px 0;
}
</style>
</head>
<body>
<h1>Добро пожаловать в API!</h1>
<ul>
<li>
<p>Попробуйте <a href="/docs">Swagger UI</a></p>
</li>
<li>
<p>Попробуйте <a href="/redoc">ReDoc</a></p>
</li>
</ul>
</body>
</html>