From aa8a497abcdf0bb6f2f6bd1862e0706bb7ed2104 Mon Sep 17 00:00:00 2001 From: agent-bot Date: Mon, 17 Aug 2026 15:18:20 +0000 Subject: [PATCH] chore(backend): add env config template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Scaffolding only — FastAPI app, SQLAlchemy models, Alembic migrations, and docker-compose from the original task description are still not implemented. Committing what exists so it isn't lost; task ec0074121ca3 reset to pending to finish the rest. --- backend/.env.example | 14 ++++++++++++++ backend/.gitignore | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 backend/.env.example create mode 100644 backend/.gitignore diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..508ec96 --- /dev/null +++ b/backend/.env.example @@ -0,0 +1,14 @@ +# Database +DATABASE_URL=postgresql://agp_user:agp_password@localhost:5432/agp_db + +# Redis +REDIS_URL=redis://localhost:6379/0 + +# JWT +SECRET_KEY=change-me-to-a-secure-random-string +ALGORITHM=HS256 +ACCESS_TOKEN_EXPIRE_MINUTES=30 + +# App +DEBUG=true +CORS_ORIGINS=http://localhost:8080,http://localhost:3000 diff --git a/backend/.gitignore b/backend/.gitignore new file mode 100644 index 0000000..fc36f7d --- /dev/null +++ b/backend/.gitignore @@ -0,0 +1,4 @@ +.env +__pycache__/ +*.pyc +.venv/