Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.04 KB

technical.architecture.md

File metadata and controls

38 lines (22 loc) · 1.04 KB

Components

#todo

Data models

  • SQL Alchemy is used to map infra [SQL models](see infra/database)
  • A mapping is done to map infra models with domain
  • For the front-end application pydantic is used (see domain)

Worflows

  • Every 15 minutes, latest vessels positions are scrap from spire api app.py
  • Every 15 minutes, new alerts are sent to slack app.py

Versionning

  • Code : github
  • Database schema : alembic

The command alembic upgrade head can be used in the root of the project in order to update the database schema to the last version. For further usages check alembic documentation (ex : create or running migrations)

Quality

  • Tests with Tox, see Makefile for run command

Monitoring

  • logs with logging package

Deployment

#todo

Domain glossary

See here