Cataloger Python Engine

About The Project

Installation

  1. Clone the repo
    git@github.com:squallium/cataloger-python-engine.git
  2. Install poetry following https://python-poetry.org/docs/#installation
  3. Install the requirements
    poetry install

Features

Lazy coders

Lazy mongoose

These scripts will generated based on mongoose scheme the mongoose models and also added the needed connections to work directly into the express cataloger project

Templates

Microservice

Using cookiecutter I've created a template for new microservice to avoid doing manually

rm -rf <path-to-cataloger>/backend/<microservice-name> && cookiecutter templates/backend-project -o <path-to-cataloger>/backend/

Running the test locally

After installing all the requirements you can run

ENV=test pytest -vv --junitxml=pytest.xml --cov=./ --cov-report=xml --cov-config=.coveragerc --cov-branch tests

Tools

Problems