# FastAPI example

A minimal FastAPI app with Jinja2 templates to demonstrate browser autoreload.

## Setup

```bash
pip install "asgi-autoreload[fastapi]" jinja2
```

## Run

```bash
fastapi-autoreload dev main.py
```

Open http://127.0.0.1:8000, then edit `templates/index.html` or `main.py` — the browser reloads automatically.

To watch specific directories only:

```bash
fastapi-autoreload dev main.py --watch . --watch templates
```
