REST API server for Papyrus, a cross platform book management application.
Install dependencies:
uv sync --extra devRun the database:
docker compose up -d database mailpitRun database migrations:
uv run alembic upgrade headRun the server:
uv run uvicorn papyrus.main:app --reload --port 8080Generate local PowerSync keys for auth testing:
./scripts/generate_dev_powersync_keys.shRun tests:
uv run pytest --cov --cov-report htmlLocal auth testing supports Mailpit for SMTP capture, a dev auth sandbox at /__dev/auth-sandbox, and opt-in provider smoke tests.
See docs/auth-testing.md for the exact .env values, Google OAuth setup, and end-to-end test workflow.
For Flutter client integration guidance, see docs/flutter-auth-integration.md.