Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: migrate /auth endpoint handling to Typescript, Domain Drive…
…n Design (#215) * refactor: introduces nested routing in TS * doc: add better documentation for functions * chore: add eslint for all "*.spec.ts" files * test(jestExpress): enhance mockResponse creation - mockResponse now allows injection of other response-related keys used to setup all the middlewares that helps in testing * test(AuthRoutes): add /checkuser integration tests * fix: update tsconfig.build.json to exclude spec files and public * test: add CookieStore helper class to store cookies for auth'd routes * Introduces ApplicationError as an abstract class for extension - this prevents developers from using ApplicationError directly and are forced to extend from the class (in Typescript).
- Loading branch information