lenra-io/lenra_cli

[EPIC] Adapt Troy to use Mongo database

Offen

#62 geöffnet am 14.09.2022

 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)Rust (2 Forks)auto 404
Epichacktoberfest

Repository-Metriken

Stars
 (16 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

With the migration of data management, from postgres to mongoDB, we have some changes to make in Troy to be compatible.

Here are the main changes:

  • Change of api routes
  • The "Datastore" doesn't need to be created anymore, it's now a mongo collection created automatically at document creation.
  • DataReference has been removed because mongo does not have a reference between documents, we have to store the document id in another document.

Troy

https://github.com/lenra-io/app-troy

Contributor Guide