aboutsummaryrefslogtreecommitdiff
path: root/src/routes.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add linting to project using EslintKevin J Hoerr2019-12-091-25/+24
|
* Promisify data flow in POST requestKevin J Hoerr2019-12-091-9/+21
|
* Use HeadIdentifier as reference for file retrievalKevin J Hoerr2019-12-081-39/+53
|
* Overhaul error handling for controllersKevin J Hoerr2019-12-081-23/+54
| | | | | | | | | | | This change fixes various issues with the GET endpoints to return more accurate error messages. It adds business logic error objects that are returned in a union type in the controllers. This change should help separate the business logic from the actual errors from upstream services. There may be required changes still with handling those upstream errors via Promises. Integration tests should be added to verify issues.
* Move from branch to repository document in MongoDBKevin J Hoerr2019-12-081-1/+10
|
* Refactor routes into separate fileKevin J Hoerr2019-12-081-0/+123