Production-grade FastAPI modular monolith
Project description
RacerAPI
Production-grade FastAPI modular monolith baseline.
Architecture
- FastAPI (no framework wrapping)
- Domain modules in
src/racerapi/modules - Layering: API -> Service -> Repo -> DB
- FastAPI
Dependsfor DI - No cross-module imports
Quick Start
python -m venv .venv
.venv\Scripts\activate
pip install -e .
Run the application:
python -m racerapi.main
Health check:
curl http://127.0.0.1:8000/health
Release Validation Commands
python -m pytest -q
python -m ruff check src tests
python scripts/check_architecture.py
Environment
Copy .env.example to .env and adjust values for your environment.
Key variables:
RACERAPI_ENV=dev|test|prodRACERAPI_DATABASE_URL=...RACERAPI_LOG_LEVEL=INFORACERAPI_DEBUG=false
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file racerapi-0.0.6.tar.gz.
File metadata
- Download URL: racerapi-0.0.6.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d233c6312f0bdc3424fe224e00706ec56e3c2b3d2da04766b4a47e5ee395aad
|
|
| MD5 |
97393b20501c40ac2548fb6281b57c1d
|
|
| BLAKE2b-256 |
cd8edccd4a570e90b3db77be14d23a24c8991f4cb74acb7f0065beb153f44669
|
Provenance
The following attestation bundles were made for racerapi-0.0.6.tar.gz:
Publisher:
python-publish.yml on 23bg/racerapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
racerapi-0.0.6.tar.gz -
Subject digest:
6d233c6312f0bdc3424fe224e00706ec56e3c2b3d2da04766b4a47e5ee395aad - Sigstore transparency entry: 1311387647
- Sigstore integration time:
-
Permalink:
23bg/racerapi@362c264207d0823371d71dfed2057736727d21f5 -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/23bg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@362c264207d0823371d71dfed2057736727d21f5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file racerapi-0.0.6-py3-none-any.whl.
File metadata
- Download URL: racerapi-0.0.6-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8e90f43968cd154b9320c96d8d33b8198746ab86467a4efab1e94aa0235ccf2
|
|
| MD5 |
c3c67d5b6cfe6710fd5be9736bc66059
|
|
| BLAKE2b-256 |
31043b3679cb6ee6ba5d2b42cd45b3d23a7ea8efd2f6ecbe023258f04e035473
|
Provenance
The following attestation bundles were made for racerapi-0.0.6-py3-none-any.whl:
Publisher:
python-publish.yml on 23bg/racerapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
racerapi-0.0.6-py3-none-any.whl -
Subject digest:
f8e90f43968cd154b9320c96d8d33b8198746ab86467a4efab1e94aa0235ccf2 - Sigstore transparency entry: 1311387733
- Sigstore integration time:
-
Permalink:
23bg/racerapi@362c264207d0823371d71dfed2057736727d21f5 -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/23bg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@362c264207d0823371d71dfed2057736727d21f5 -
Trigger Event:
release
-
Statement type: