elifesciences / elife-xpub

eLife is an open-access journal and technology provider that publishes promising research in the life and biomedical sciences. This is their implementation of a submission and peer review system based on Coko PubSweet and xPub.
https://elifesciences.org/
MIT License
32 stars 5 forks source link

Create a skeleton of how we want the Repository Pattern to work #2238

Open diversemix opened 5 years ago

diversemix commented 5 years ago

Problem / Motivation

To mitigate the problems with objection (see #2192) ... and after our discussions with Hindawi, we are going to create an example skeleton for the Repository Pattern. The aim is by the end of next week 12th July so we could discuss a common interface to feed back to PubSweet.

Proposed solution

Re-purposing my own playground repo: https://github.com/diversemix/js-ddd-server/

diversemix commented 5 years ago

I've setup an example of a UserRepository and an Extension ... can be found here: Code: https://github.com/diversemix/js-ddd-server/tree/master/submission-app/src/domain-submission/infrastructure/repositories CI: https://circleci.com/gh/diversemix