Giter Club home page Giter Club logo

childcare-calculator-frontend's Introduction

childcare-calculator-frontend

Build Status Download

The Childcare Calculator will help parents quickly self-assess the options for their childcare support, allowing them to make a decision on which scheme will best suit their needs. The Childcare Calculator will calculate the data input by the users, inform them of their eligibility and how much support that they could receive for the Tax-Free Childcare (TFC), Tax Credits (TC) and Employer-Supported Childcare (ESC) schemes.

The Childcare Calculator invokes cc-eligibility microservice(Eligibility documentation) and cc-calculator microservice(Calculator documentation) to get the desired results.

The Childcare Calculator has a feature where in users can do email registration to send the email the calculator invokes cc-email-capture microserive(Email capture documentation)

The Childcare Calculator Frontend service, collects the data input by the users from the fields on the presented pages. This data is collated and passed to the Childcare Calculator backend processes. The results are returned to the Childcare Calculator Frontend service to display to the user.

  • Endpoint URL : /childcare-calc

  • Port Number : 9381

Testing

Unit Tests

To run the unit tests for the application run the following:

  1. cd $workspace
  2. sbt test

To run a single unit test/spec

  1. cd $workspace
  2. sbt
  3. test-only */path/to/unitspec/Example* - Example being the class name of your UnitSpec

Test Coverage

To run the test coverage suite scoverage

  1. sbt clean scoverage:test

Acceptance Tests

NOTE: Cucumber/acceptance tests are available in a private GitHub project at: http://github.com/HMRC/childcare-calculator-acceptance-tests

Messages

To provide messages files with variables that are passed in then use the following format:

@Messages("cc.compare.total.household.spend", totalHouseholdSpend)
cc.compare.total.household.spend = You told us your childcare costs are {0} a month

License

This code is open source software licensed under the Apache 2.0 License

childcare-calculator-frontend's People

Contributors

adamliptrot-oc avatar bentaylor12 avatar etheya avatar hmrc-web-operations avatar kjainsc avatar milena-valchanova avatar muhammad-ali-ahmad avatar shridhaarchippaa avatar tyagikumarvineet avatar

Stargazers

 avatar

Watchers

 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.