Build a FastAPI backend ready for production.
Recent revisions are kept. Restoring one creates a new revision.