Create a dedicated mock API server (allow for CORS testing)
Remove development- and testing- code paths from server logic (implement
with dependency injection via a separate script). This will simplify
production code and limit risk of deploying inappropriate builds
Introduce basic fixture data and a simple API for scripting API behavior
during tests