Skip to content

๐Ÿš€ A FastAPI starter template prepared for the Docker Workshop at BU 2025. Includes a minimal FastAPI app, ready to be containerized and deployed with Docker.

Notifications You must be signed in to change notification settings

oddsteam/docker-fastapi-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ FastAPI Starter with Templates & Static Assets

A minimal FastAPI application in Python 3.10+ featuring server-side rendered HTML with Jinja2 and a small, modern CSS card grid.

โœจ Features

  • / HTML page rendered with Jinja2 templates
  • Responsive card grid layout with clean, modern styling
  • /health endpoint for health checks
  • Interactive Swagger UI at /docs and Redoc at /redoc
  • Docker-ready

๐Ÿ—‚๏ธ Project Structure

app/
  main.py
  templates/
    index.html
  static/
    styles.css
Dockerfile
requirements.txt

โ–ถ๏ธ Run locally

Prereqs: Python 3.10+

Create and activate a virtualenv (recommended), then install dependencies:

pip install -r requirements.txt

Start the dev server:

uvicorn app.main:app --reload

Open in your browser:

About

๐Ÿš€ A FastAPI starter template prepared for the Docker Workshop at BU 2025. Includes a minimal FastAPI app, ready to be containerized and deployed with Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published