lenra-io/lenra_cli

[EPIC] Adapt Troy to use Mongo database

Open

#62 opened on Sep 14, 2022

 (1 comment) (0 reactions) (1 assignee)Rust (2 forks)auto 404
Epichacktoberfest

Repository metrics

Stars
 (16 stars)
PR merge metrics
 (PR metrics pending)

Description

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