Skip to content

Library in CQRS Pattern - Example Protean Implementation

Notifications You must be signed in to change notification settings

proteanhq/library-cqrs

Repository files navigation

library

Protean example implementation

Source DDD by Examples - Library
Pattern CQRS
Protean Version 0.12.1
Build Status Build Status
Coverage codecov

Contributing

  1. Clone this repository:

    git clone [email protected]:proteanhq/library-cqrs.git

  2. Set up and activate Python virtual environment:

    python3 -m venv .venv

    source .venv/bin/activate

  3. Install poetry

  4. Install dependencies:

    poetry install

  5. Install pre-commit hooks:

    pre-commit install

Running Development Servers

  1. Catalogue domain:

    FastAPI Server: fastapi dev src/catalogue/main.py

  2. Lending domain:

    Protean Server: PROTEAN_ENV=dev protean server --domain lending.domain

Running Tests

  • Basic: make test

  • With coverage: make test-cov

About

Library in CQRS Pattern - Example Protean Implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published