Giter Club home page Giter Club logo

hmrc.customs-declare-exports-frontend's Introduction

customs-declare-exports-frontend

Build Status Download

Declare Exports Frontend Application.

Developer notes

You may want to point to a non-local frontend Assets server. If so then simply set an environment variable ASSETS_URL

License

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

Scalastyle

Project contains scalafmt plugin.

Commands for code formatting:

scalafmt        # format compile sources
test:scalafmt   # format test sources
sbt:scalafmt    # format .sbt source

To ensure everything is formatted you can check project using commands below

scalafmt::test      # check compile sources
test:scalafmt::test # check test sources
sbt:scalafmt::test  # check .sbt sources

Auto Complete

This project has a TamperMonkey (Google Chrome) or GreaseMonkey (Firefox) Auto Complete Script to help speed through the form journey.

These scripts can be found in the docs directory.

Updating Tariff Code lists

As per Exports Product Manager and CDS Stakeholders instructions, the CDS Tariff is our source of truth for any CDS codes going forward, until further instructions or until we connect with a service that provides this data for us.

There is a small Node.js project on tariff-codes-parser that allows us to automate this task. We have been informed that the most up-to-date codes can be found on the CDS Tariff.

We use the following codes:

The steps required to update the code-lists:

  1. Install Node.js and npm on your local machine.
  2. Clone Exports Acceptance project, External Movements, Internal Movements and Declarations BE into the same workspace folder as this project, as we will have to update the code lists as well.
  3. Ensure the tariff URLs are still valid and update them on tariff-codes.js
  4. Go into the Node.js project: cd tariff-codes-parser
  5. Install the Node.js dependencies: npm install
  6. Execute, parse and update the code lists: node start.js
  7. Check the differences git diff and/or create a Pull Request.

Recommended future work:

  • Consider moving this code to Scala

hmrc.customs-declare-exports-frontend's People

Contributors

patrykrudnicki avatar pauloportugal avatar maciejrewera avatar bambuchaadm avatar stevesugden avatar janeturner avatar ed0906 avatar raghu1978 avatar glidester avatar benjaminparker avatar leszeklorek avatar simms11 avatar mattclark-zerogravit avatar jodlowy avatar iservport avatar russellthorn avatar udinobi avatar suryend4u avatar gabor-dorcsinecz avatar bethany-kish avatar hmrc-web-operations avatar christophercameron-ixd avatar harishkancharla avatar vasu-hmrc avatar tomasz-rosiek avatar vipickering 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.