/firearms

Primary LanguageGherkinGNU General Public License v3.0GPL-3.0

Firearms Licensing Application

Firearms Licensing Application built using HOF (Home Office Forms) framework.

Getting Started

Prerequisities

  • Node.js - Tested against LTS
  • NPM (installed with Node.js) - Works with versions 2 and 3
  • Redis server running on the default port

Up & Running

$ cd firearms
$ yarn install
$ yarn run start:dev

Then visit: http://localhost:8080/ and add the pathname for the desired journey. e.g. http://localhost:8080/museums

Testing

Acceptance Tests

First, make sure the envvariable in the config.js file is equal to 'ci'. With the server running in development mode run (yarn run start:acceptance) to start the acceptance tests:

$ npm run test:acceptance

Unit Tests

$ yarn test:unit