make it so 2 trainers can't share 1 pokemong
use sets where collection order doesn't matter and items should be unique
make services call entity validation, to prevent additions and updates that are side-effects from bypassing the validator
implement schema versioning and incremental migrations
While not "production-ready", this branch contains a partially functional back end with an API and a DB.
It can be built upon, as it is.
Co-authored-by: Alexis DRAI <alexis.drai@etu.uca.fr>
Reviewed-on: alexis.drai/AD_MongoDB#2