Useful to mimic behavior of an actual API server, but with static fixture responses instead.
npm install -D @springworks/static-api-server
Send requests to API and get matching fixtures back:
;;const fixture_loader = ;static_api_server;
Creates and configures a Hapi server. Routes defined in
swagger_spec will be matched with fixtures from
Returns a Hapi server instance.
To ensure this pattern is enforced, we use pre-git which installs a
Please read and understand what the
types mean and use them properly when committing and contributing.
commit-msg hook needs to know about your installed
node which means that if you use third party application when committing, like Tower, that application needs to know your PATH environment.
There are probably a lot of ways to solve this, but one that works is to open the application from the terminal: