# API

Django project configured for the Full Moon Bakehouse platform. The scaffold is minimal but wired to the Docker environment variables.

## Development

Inside Docker (recommended):

```bash
docker compose up api-gpt
```

Run management commands via:

```bash
docker compose exec api-gpt python manage.py migrate
docker compose exec api-gpt python manage.py createsuperuser
```

For local development outside Docker, create a virtualenv and install requirements:

```bash
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
```

Environment variables default to SQLite if `DATABASE_URL` is not provided.
