my_api / index.html
souljoy's picture
Duplicate from dog/fastapi-hello-world
46183a2
raw
history blame
1.22 kB
<html>
<!-- Title -->
<head>
<title>FastAPI Hello World</title>
</head>
<!-- Stylesheet -->
<style>
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 1.5;
margin: 0;
padding: 0;
}
h1 {
font-size: 2em;
margin: 0;
padding: 0;
/* Center */
text-align: center;
}
h3 {
margin: 0;
padding: 0;
/* Center */
text-align: center;
}
</style>
<!-- Body -->
<body>
<h1>FastAPI Hello World Example</h1>
<h3>
This is a simple example of a FastAPI Hello World application using Docker. See the links below for more information.
</h3>
<!-- List of different relevant links and descriptions about them -->
<div style="margin: 0 auto; width: 50%;">
<ul>
<!-- Link to self /docs -->
<li>
<a href="/docs">This API's Interactive Swaggar Docs</a> - Try the API out here!
</li>
</ul>
</div>
</body>
</html>