Giter Site home page Giter Site logo

hmcts / div-decree-absolute-frontend Goto Github PK

View Code? Open in Web Editor NEW
2.0 22.0 2.0 4.22 MB

Citizen frontend application for Decree Absolute stage of Divorce

Home Page: https://www.gov.uk/divorce

License: MIT License

Groovy 1.46% JavaScript 69.30% HCL 5.05% HTML 15.92% Dockerfile 0.07% SCSS 1.07% Shell 0.20% Nunjucks 6.93%
jenkins-cft jenkins-cft-d-i

div-decree-absolute-frontend's Introduction

Divorce Decree Absolute

Getting started

Install dependencies

yarn install

Start application

Run Redis DB using Docker

docker-compose up redis

To start running the application on https://localhost:3000. (Note https not http)

yarn dev

This will create a new endpoint of "/session" where you can view and edit the current session. (Note: each time you login/logout of IDAM the session will be reset)

yarn mocks

Test application

yarn test

Run Functional tests locally

yarn test:functional

Run Functional tests locally against AAT

  • Connect to the VPN

  • Make a copy of config/example-local-aat.yml as config/local-aat.yml (which is ignored by git)

  • Substitute any secret values in local-aat.yml from SCM - Do not add/commit secrets to the example file!

  • If you want to point to a PR, modify tests.functional.url accordingly.

  • Run NODE_ENV=aat yarn test:functional. This would your tests to pick up the new local-aat.yml.

Running additional tests in the Jenkins PR Pipeline

  1. Add one or more appropriate labels to your PR in GitHub. Valid labels are:
  • enable_full_functional_tests
  • enable_fortify_scan
  1. Trigger a build of your PR in Jenkins. Fortify scans will take place asynchronously as part of the Static Checks/Container Build step.
  • Check the Blue Ocean view for live monitoring, and review the logs once complete for any issues.
  • As Fortify scans execute during the Static Checks/Container Build step, you will need to ensure this is triggered by making a minor change to the PR, such as bumping the chart version.

div-decree-absolute-frontend's People

Contributors

anatolysan avatar bweeks-justicegovuk avatar cotterale avatar damongreen123 avatar danielbe11 avatar dependabot[bot] avatar dtaylor7 avatar ellisd-b avatar gevans-hmcts avatar gmikerlemos avatar greg-wright-kainos avatar gurarach avatar hosainnet avatar iichr avatar johnnyvineall avatar kleog avatar lucadelbuonohmcts avatar magicobject avatar mattyod avatar michael1142 avatar mindgames2015 avatar mokainos avatar ms-ek avatar ravinderpal avatar rishikrsharma avatar rob-doherty avatar ruban72 avatar smillapalk avatar tchow8 avatar tseelig avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.