digitalinteraction / ongoingness-api

API for the Ongoingness Project
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Implement Graph Database #1

Open wel-shy opened 5 years ago

wel-shy commented 5 years ago

Translate existing mongo database into a graph database.

Could extend this more generic approach in todos, allowing both mongo and graph db instances to be used at the same time, and swapped in at deployment?

Would need routers to be generalised as well as repositories. API would look up what to use at run time from environment variables.

wel-shy commented 5 years ago

Updated routers and repositories to be more general, @j-mahoney you would just need to a write an implementation for Neo4j that would implement IResourceRepository and IResourceRouter.