Giter Club home page Giter Club logo

hmcts.sscs-track-your-appeal-frontend's Introduction

SSCS - Track Your Appeal (TYA)

Track your appeal is a node.js web application that allows an appellant to track the progress of their benefit appeal online. An appellant may also wish to subscribe to receive updates about their appeal via email and SMS, these are known as notifications and are not part of this application, they are part of the API

Background

Someone who receives a decision about their entitlement to benefits has the right to appeal against that decision, if they disagree with it. The first step is asking the Department for Work and Pensions to look at the decision again. This is known as requesting ‘Mandatory Reconsideration’. If they still disagree, they can appeal to the Social Security and Child Support tribunal. They are independent and will look at both sides before making a decision on the appeal.

TYA progress bar

There are 4 main statuses within TYA:

  1. Appeal received
  2. DWP respond
  3. Hearing booked
  4. Hearing

Track your appeal progress bar

With 10 status exceptions:

  1. Adjourned
  2. Closed
  3. Dormant
  4. Evidence received
  5. DWP respond overdue
  6. Lapsed revised
  7. New hearing booked
  8. Past hearing booked
  9. Postponed
  10. Withdrawn

From a progress bar standpoint some exceptions are paired with one of the 4 main statuses, whilst some do not have a progress bar, Closed, Evidence received, Lapsed revised and Withdrawn. All statuses are technically classified as events.

In the early stages of an appeal an email/letter is sent to the appellant containing a link/URL respectively which looks like:

http://www.sscs.reform.hmcts.net/trackyourappeal/hmUr1moTZj

The ID hmUr1moTZj defined within the URL is randomly generated via the backend. When a user clicks on the URL the node app performs a HTTP GET request to the Java API /appeals endpoint passing the ID, the response returns the appeal in JSON format, processed and presented to the user. If you wish to view some of the responses take a look at the mocked responses

In order to track an appeal the appellant is required to be subscribed

Application Dependencies

Commands

Install application dependencies and generate assets

$> yarn install

Run development server

$> yarn dev

Run production server

$> yarn start

Open a browser including the ID

http://localhost:3000/trackyourappeal/id 

Running the tests

Unit tests

$> yarn test
$> yarn coverage

Security checks

$> yarn audit

Crossbrowser tests

Ensure environment variables 'TUNNEL_IDENTIFIER', $> yarn cross-browser

Accessibility tests

Pass the JUNIT_REPORT_PATH environment variable to use the jenkins reporter.

$> make test-accessibility

Smoke tests

Ensure environment variable NOTIFICATION_API_KEY is set before running smoke tests. Pass E2E_OUTPUT_DIR environment variable to use mochawesome reporter.

$> make test-end-to-end

hmcts.sscs-track-your-appeal-frontend's People

Contributors

paulgain avatar bartlabno avatar vianvi avatar barbaracassani avatar robyoung avatar bendiggle avatar guioconnor avatar iguannago avatar danielepolencic avatar izelscorner avatar satyachundur avatar chris-moreton avatar sathishbabuj avatar barteklabno avatar paulvm avatar divisathyan avatar rob-doherty avatar t0nin0s avatar agilks avatar aaronrs avatar slyg avatar davet1985 avatar chrisdavecm avatar mosinloye avatar ryandac avatar srochani 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.