We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 542435a commit 2e757e8Copy full SHA for 2e757e8
src/quant_research_starter/api/README.md
@@ -0,0 +1,19 @@
1
+API backend for QuantResearchStarter
2
+
3
+Run the FastAPI app (development):
4
5
+```bash
6
+export DATABASE_URL="postgresql+asyncpg://postgres:password@db:5432/qrs"
7
+export REDIS_URL="redis://redis:6379/0"
8
+uvicorn src.quant_research_starter.api.main:app --reload --port 8000
9
+```
10
11
+Run Celery worker:
12
13
14
+celery -A src.quant_research_starter.api.tasks.celery_app.celery_app worker --loglevel=info
15
16
17
+Notes:
18
+- This scaffold uses Postgres (asyncpg), Redis (Celery broker + pubsub), and JWT auth.
19
+- For production, run workers and web app in separate containers/processes, and use Alembic to manage schema migrations.
0 commit comments