Example of express server with a dependency injection pattern.
This structure allows you to easily test your code by injecting mock dependencies.
To run in dev mode:
npm install
npm run dev
Must define the following environment variables:
SERVER_PORT
: the port in which the server will run.