Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 971 Bytes

README.md

File metadata and controls

47 lines (34 loc) · 971 Bytes

🚀 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: