Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
pip install -e ".[dev]"

# Run dev server
uvicorn app.main:app --reload
uvicorn app.application:app --reload

# Run all tests
pytest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Python/FastAPI backend for duty scheduling at [US Basketball Amsterdam](https://
pip install -e ".[dev]"
cp .env.example .env # set DATABASE_URL, ADMIN_PASSWORD, JWT_SECRET
alembic upgrade head
uvicorn app.main:app --reload
uvicorn app.application:app --reload
```

API docs available at `http://localhost:8000/docs`.
Expand Down
2 changes: 1 addition & 1 deletion api/index.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from app.main import app # noqa: F401 — Vercel looks for `app` at module level
from app.application import app # noqa: F401 — Vercel looks for `app` at module level
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ dependencies = [
"passlib[bcrypt]>=1.7",
"pydantic-settings>=2.0",
"python-dotenv>=1.0",
"httpx>=0.27",
]

[project.optional-dependencies]
dev = [
"pytest>=8.0",
"httpx>=0.27",
"pytest-asyncio>=0.24",
]

Expand Down
10 changes: 0 additions & 10 deletions requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from app.db.engine import Base
from app.dependencies import get_db
from app.main import app
from app.application import app

TEST_DATABASE_URL = "sqlite:///:memory:"

Expand Down
7 changes: 1 addition & 6 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,5 @@
"$schema": "https://openapi.vercel.sh/vercel.json",
"rewrites": [
{ "source": "/(.*)", "destination": "/api/index" }
],
"functions": {
"api/index.py": {
"excludeFiles": "{tests/**,**/*.test.py,**/test_*.py}"
}
}
]
}
Loading