Store org data in MongoDB to ease pro platform dashboard #10245
Labels
✨ Feature
Features or enhancements to Open Food Facts server
MongoDB
We have 2 mongodb collections: one for current products, and one for obsolete products
🏭 Producers Platform - admin tools
🏭 Producers Platform
https://wiki.openfoodfacts.org/Platform_for_producers
We currently store organization objects in .sto files in the orgs directory.
In addition, we should also store this data in a new "orgs" collection of the "off" database in MongoDB.
This will be useful in particular to create a dashboard for the administrators of the pro platform, with a table that lists all organizations (#9737)
Related code is in lib/ProductOpener/Orgs.pm (see also data.pm and Products.pm at the end of store_product() to see how we store product data in MongoDB).
The text was updated successfully, but these errors were encountered: