Drug Reactions Explained (DRE) provides clear definitions to complex medical terms used to describe the adverse reactions patients have experienced when taking certain drugs (18F Agile BPA Development Prototype)
Added new Data Manager for consistent way of connecting with MongoDB
Added new Server Manager for consistent way of fetching definitions from external sources
Refactored /reactions and /server routes to leverage new managers
Added unit tests across server
Refactored successful responses to include a meta and data property similar to list results had initially (this may result in a BREAKING change for client app)
Introduced new config.js properties to remove hard coding of collections in routes (refer to config-sample.js for examples)
meta
anddata
property similar to list results had initially (this may result in a BREAKING change for client app)