1012 B
1012 B
FastCheck API (FastAPI)
This is a parallel, client-facing API that reuses the existing MongoDB database and collections used by the Node.js backend.
Documentation
- OpenAPI schema:
GET /openapi.json - Customer docs (UI):
/docs - Swagger UI (internal):
/internal/docs - ReDoc (internal):
/internal/redoc - Customer docs (repo): docs/index.md
Local run (no Docker)
- Create and activate a virtual environment.
- Install dependencies:
pip install -r fastcheck_api/requirements.txt
- Create an env file:
cp fastcheck_api/.env.example fastcheck_api/.env
- Start the API:
export $(cat fastcheck_api/.env | xargs)
uvicorn fastcheck_api.app.main:app --host ${FASTCHECK_API_HOST:-127.0.0.1} --port ${FASTCHECK_API_PORT:-8080} --reload
- Start the worker (in a separate shell):
export $(cat fastcheck_api/.env | xargs)
python -m fastcheck_api.app.workers.check_worker