`checks.ts` doesn't belong in the `src/middlewares` directory as it does not modify the request or response. We should move these checks into a set of utility functions for the services layer in the `src/services` directory.
checks.tsdoesn't belong in thesrc/middlewaresdirectory as it does not modify the request or response.We should move these checks into a set of utility functions for the services layer in the
src/servicesdirectory.