Giter Club home page Giter Club logo

bar-web's Introduction

BAR (Banking & Accounting Returns) | Angular Project

This is client side application for the BAR Application. The technologies used to develop and test this application are the following:

Getting Started

Prerequisites

Mock Idam authentication

To be able to run and use the application locally another app should be running which mocks idam endpoints. This is the https://github.com/hmcts/bar-idam-mock To start the app on Linux/Mac run "make dev-start" and on windows "PORT=23443 npm run dev" it will start listen on port 23443. the idam.api_url should be set to http://localhost:23443 in default.yml.

idam:
  api_url: http://localhost:23443

Mock fees-register

To be able to use fees-register locally you need to checkout, run and point to the mock application what can be found at https://github.com/hmcts/bar-idam-mock To start the app on Linux/Mac run "make dev-start" and on windows "PORT=23443 npm run dev" it will start listen on port 23443. the fee.url should be set to http://localhost:23443 in default.yml.

fee:
  url: http://localhost:23443

The same settings should be made on bar-app, so in the application.properties should contain this:

auth.idam.client.baseUrl=${IDAM_CLIENT_BASE_URL:http://localhost:23443}

Installation & Development

Once you have installed "Mock Idam authentication" application and have it running, please follow the following steps below:

  • Clone this (bar-web) repository
  • Run yarn - to install the modules in package.json
  • Run yarn start:angular-dev to start the Angular application
  • Run yarn start:express-dev to start the web server

Build SCSS files

  • Run gulp watch to build and watch scss files inside src/assets/stylesheets The SCSS files (in the src/app folder) are automatically compiled into css files, so there would be no need for gulp to watch the files

Committing files and testing

Once you have created (or modified) the files in this repository, prior to committing, please run the following:

  • Run yarn lint - to ensure your files follow the coding standards
    • If there are problems, you can run yarn lint --fix to correct the issues. It may not necessarily correct everything. (Some manual correction may be needed).
  • Run yarn test:angular - to test the Angular application
  • Run yarn test:express - to test the Express application
  • Run yarn test:functional-local - to run e2e tests
  • Run yarn nsp -

Build

If you would like to build the application:

  • Run yarn build - This will build the Angular application (production standard) and place the compiled files into the /dist folder. Express will serve the compiled Angular application from the dist folder.

Authors

bar-web's People

Contributors

abdulkhan5 avatar anoojhmcts avatar arbab-cog avatar attila avatar attila-kiss-hmcts avatar chrisworthcgi avatar davejones74 avatar elviani avatar hmcts-jenkins-a-to-c[bot] avatar hmcts-jenkins-feepay[bot] avatar jaleen avatar jordanhoey96 avatar krishnanuthalapati avatar kumarmadurai avatar mokainos avatar ollie-smith avatar pats-john avatar prashant-khunte avatar priyatham-bhikkumalla avatar rahimilahi avatar rtkumar1980 avatar sacsdam avatar santu412 avatar satishramachandrappa avatar sho88 avatar shravanmechineni avatar stonebenhmcts avatar thor-tech-of-metal avatar vigneshpushkaranhmcts avatar yasharrahvar avatar

Stargazers

 avatar

Watchers

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

bar-web's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository. View logs.

  • WARN: Error obtaining docker token
  • WARN: Package lookup failures

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm applicationinsights-js Unavailable
npm csurf Unavailable
npm faker Available
npm npm-run-all Available
npm phantomjs-prebuilt Unavailable
npm protractor Unavailable

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Replace dependency faker with @faker-js/faker ^4.1.0
  • Update Helm release nodejs to v3.1.1
  • Update dependency browserslist to v4.23.2
  • Update dependency config to v3.3.12
  • Update dependency debug to v4.3.5
  • Update dependency postcss to v8.4.40
  • Update dependency rxjs to v7.8.1
  • Update dependency sass to v1.77.8
  • Update dependency socket.io to v4.7.5
  • Update dependency @angular-eslint/schematics to v18.1.0
  • Update dependency @types/jasmine to ~4.6.0
  • Update dependency chai to v4.5.0
  • Update dependency chai-http to v4.4.0
  • Update dependency codeceptjs to v3.6.4
  • Update dependency csurf to v1.11.0
  • Update dependency govuk_template_jinja to ^0.26.0
  • Update dependency hashicorp/terraform to v1.9.3
  • Update dependency i18n to ^0.15.0
  • Update dependency jasmine-core to ~4.6.0
  • Update dependency karma-chrome-launcher to ~3.2.0
  • Update dependency karma-jasmine-html-reporter to ~2.1.0
  • Update dependency lcov-result-merger to v3.3.0
  • Update dependency moment to v2.30.1
  • Update dependency node to v18.20.4 (node, @types/node)
  • Update dependency stylelint to v16.7.0
  • Update dependency superagent to v8.1.2
  • Update dependency ts-mockito to v2.6.1
  • Update dependency typescript to v5.5.4
  • Update dependency uuid to v3.4.0
  • Update dependency xlsx to ^0.18.0
  • Update Node.js to v20
  • Update Yarn to v4
  • Update actions/checkout action to v4
  • Update actions/setup-node action to v4
  • Update angular monorepo to v18 (major) (@angular/animations, @angular/common, @angular/compiler, @angular/compiler-cli, @angular/core, @angular/forms, @angular/language-service, @angular/platform-browser, @angular/platform-browser-dynamic, @angular/router)
  • Update angular-cli monorepo to v18 (major) (@angular-devkit/build-angular, @angular/cli)
  • Update angular-eslint monorepo to v18 (major) (@angular-eslint/builder, @angular-eslint/eslint-plugin, @angular-eslint/eslint-plugin-template, @angular-eslint/template-parser)
  • Update angularmaterial monorepo to v18 (major) (@angular/cdk, @angular/material)
  • Update codecov/codecov-action action to v4
  • Update dependency @codeceptjs/helper to v2
  • Update dependency @hmcts/nodejs-logging to v4
  • Update dependency @hmcts/properties-volume to v1
  • Update dependency @types/jasmine to v5
  • Update dependency ansi-regex to v6
  • Update dependency applicationinsights to v3
  • Update dependency axios to v1
  • Update dependency chai to v5
  • Update dependency chai-http to v5
  • Update dependency core-js to v3
  • Update dependency cross-env to v7
  • Update dependency dns-packet to v5
  • Update dependency eslint to v9
  • Update dependency eslint-plugin-jest to v28
  • Update dependency faker to v6
  • Update dependency flat to v6
  • Update dependency glob-parent to v6
  • Update dependency govuk-frontend to v5
  • Update dependency govuk_frontend_toolkit to v9
  • Update dependency gulp to v5
  • Update dependency gulp-cli to v3
  • Update dependency helmet to v7
  • Update dependency hosted-git-info to v7
  • Update dependency http-status-codes to v2
  • Update dependency jasmine-core to v5
  • Update dependency jasmine-spec-reporter to v7
  • Update dependency js-yaml to v4
  • Update dependency json5 to v2
  • Update dependency lcov-result-merger to v5
  • Update dependency lint-staged to v15
  • Update dependency mocha to v10
  • Update dependency mocha-junit-reporter to v2
  • Update dependency mochawesome to v7
  • Update dependency ng-packagr to v18
  • Update dependency ngx-cookie-service to v18
  • Update dependency nock to v13
  • Update dependency node to v20 (node, @types/node)
  • Update dependency node-cache to v5
  • Update dependency nodemon to v3
  • Update dependency normalize-url to v8
  • Update dependency nyc to v17
  • Update dependency opossum to v8
  • Update dependency pa11y to v8
  • Update dependency pa11y-reporter-html to v2
  • Update dependency postcss-import to v16
  • Update dependency selenium-standalone to v10
  • Update dependency sinon to v18
  • Update dependency sinon-chai to v4
  • Update dependency superagent to v9
  • Update dependency supertest to v7
  • Update dependency tar to v7
  • Update dependency trim-newlines to v5
  • Update dependency uuid to v10
  • Update dependency webdriverio to v8
  • Update dependency xmlhttprequest-ssl to v2
  • Update postgres Docker tag to v16
  • Update typescript-eslint monorepo to v7 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.


Warning

Renovate failed to look up the following dependencies: Failed to look up docker package docker.artifactory.reform.hmcts.net/selenium/standalone-chrome.

Files affected: e2e/docker-compose-e2e.yml


Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
docker-compose.yml
  • postgres 11-alpine
e2e/docker-compose-e2e.yml
  • docker.artifactory.reform.hmcts.net/selenium/standalone-chrome 3.5.2
dockerfile
Dockerfile
  • hmctspublic.azurecr.io/base/node 18-alpine
github-actions
.github/workflows/ci.yml
  • actions/checkout v2
  • actions/setup-node v1
  • codecov/codecov-action v1
.github/workflows/stale.yml
  • actions/stale v9
helm-values
charts/bar-web/values.yaml
helmv3
charts/bar-web/Chart.yaml
  • nodejs 3.1.0
  • idam-pr ~2.3.0
npm
package.json
  • @angular-eslint/schematics 18.0.2-alpha.4
  • @angular/cdk ^15.2.9
  • @angular/material ^15.2.9
  • @hmcts/cookie-manager ^1.0.0
  • @hmcts/frontend ^0.0.34-alpha
  • @hmcts/nodejs-logging ^3.0.0
  • @hmcts/properties-volume ^0.0.13
  • @types/lodash 4.14.108
  • applicationinsights ^1.0.5
  • applicationinsights-js ^1.0.20
  • body-parser ^1.20.1
  • client-request ^2.3.0
  • config ^3.3.1
  • cookie-parser ^1.4.3
  • csurf ^1.9.0
  • express 4.19.2
  • helmet ^3.9.0
  • http-status-codes ^1.3.0
  • i18n ^0.8.3
  • jest ^29.7.0
  • js-yaml ^3.10.0
  • lodash ^4.17.15
  • moment 2.29.4
  • moment-timezone ^0.5.35
  • ngx-cookie-service ^16.0.1
  • node-cache ^4.2.0
  • npm-run-all ^4.1.5
  • opossum ^1.11.0
  • postcss ^8.4.31
  • postcss-import 12.0.1
  • pug 3.0.3
  • require-directory ^2.1.1
  • sass ^1.67.0
  • stylelint 16.6.1
  • stylelint-config-standard 36.0.1
  • stylelint-config-standard-scss 13.1.0
  • superagent 8.0.8
  • typescript ^5.2.0
  • uuid 3.3.2
  • validator ^13.7.0
  • zone.js ^0.14.5
  • @angular-devkit/build-angular 17.3.7
  • @angular-eslint/builder 15.2.1
  • @angular-eslint/eslint-plugin 15.2.1
  • @angular-eslint/eslint-plugin-template 15.2.1
  • @angular-eslint/template-parser 15.2.1
  • @angular/animations 17.3.9
  • @angular/cli 17.3.7
  • @angular/common 17.3.9
  • @angular/compiler 17.3.9
  • @angular/compiler-cli 17.3.9
  • @angular/core 17.3.9
  • @angular/forms 17.3.9
  • @angular/language-service 17.3.9
  • @angular/platform-browser 17.3.9
  • @angular/platform-browser-dynamic 17.3.9
  • @angular/router 17.3.9
  • @codeceptjs/allure-legacy ^1.0.2
  • @codeceptjs/helper ^1.0.2
  • @hmcts/eslint-config ^1.3.0
  • @types/applicationinsights-js ^1.0.7
  • @types/jasmine ~4.3.0
  • @types/jest ^29.5.4
  • @types/node 18.17.1
  • @typescript-eslint/eslint-plugin ^5.62.0
  • @typescript-eslint/parser ^5.62.0
  • allure-commandline ^2.17.2
  • chai 4.1.2
  • chai-http 4.2.0
  • codeceptjs =3.3.3
  • codelyzer ^6.0.0
  • core-js ^2.4.1
  • coveralls ^3.0.1
  • cross-env ^5.1.4
  • eslint ^8.46.0
  • eslint-config-prettier ^9.0.0
  • eslint-plugin-import ^2.28.0
  • eslint-plugin-jest ^27.2.3
  • faker ^4.1.0
  • govuk-elements-sass ^3.1.2
  • govuk-frontend ^4.3.1
  • govuk_frontend_toolkit ^7.1.0
  • govuk_template_jinja ^0.24.1
  • gulp ^4.0.0
  • gulp-cleancss ^0.2.2
  • gulp-cli ^2.3.0
  • gulp-plumber ^1.2.1
  • gulp-sass ^5.1.0
  • jasmine-core ~4.5.0
  • jasmine-spec-reporter ~5.0.0
  • karma ^6.4.0
  • karma-chrome-launcher ~3.1.0
  • karma-coverage ^2.2.0
  • karma-coverage-istanbul-reporter ~3.0.2
  • karma-jasmine ~5.1.0
  • karma-jasmine-html-reporter ~2.0.0
  • lcov-result-merger 3.1.0
  • lint-staged ^13.2.3
  • mocha ^5.2.0
  • mocha-junit-reporter ^1.17.0
  • mocha-multi ^1.1.3
  • mochawesome ^3.0.2
  • nock ^10.0.0
  • nodemon ^1.12.1
  • nyc ^14.1.1
  • pa11y ^5.3.0
  • pa11y-reporter-html ^1.0.0
  • phantomjs-prebuilt 2.1.16
  • playwright ^1.36.1
  • protractor ~7.0.0
  • proxyquire ^2.1.0
  • pugit 6.1.1
  • rosie ^2.0.1
  • rxjs =7.8.0
  • selenium-standalone ^6.15.3
  • sinon ^7.2.3
  • sinon-chai ^3.2.0
  • sonar-scanner ^3.0.3
  • supertest ^4.0.2
  • ts-mockito 2.3.1
  • unirest ^0.6.0
  • webdriverio ^7.32.0
  • node >=v18.0.0
  • @angular-eslint/schematics 18.0.2-alpha.4
  • stylelint-config-standard 36.0.1
  • stylelint-config-standard-scss 13.1.0
  • stylelint 16.6.1
  • flat ^5.0.1
  • formidable ^3.2.4
  • express 4.19.2
  • pug >=3.0.3
  • moment ^2.29.4
  • nwmatcher >=1.4.4
  • ng-packagr ^10.1.1
  • set-value ^4.0.1
  • tar 6.2.1
  • trim-newlines ^3.0.1
  • glob-parent ~5.1.2
  • xlsx ^0.17.0
  • socket.io-parser =4.2.4
  • xmlhttprequest-ssl ^1.6.2
  • underscore ^1.12.1
  • ansi-regex ^5.0.1
  • socket.io =4.7.2
  • postcss =8.4.31
  • minimist >=1.2.8
  • sockjs ^0.3.20
  • json-schema ^0.4.0
  • hosted-git-info ^2.8.9
  • browserslist ^4.16.5
  • axios ^0.28.0
  • jszip ^3.7.0
  • normalize-url ^4.5.1
  • dns-packet ^1.3.2
  • ws ^8.13.0
  • validator ^13.7.0
  • json5 1.0.2
  • semver 7.5.2
  • @babel/traverse ^7.23.2
  • debug =4.3.4
  • ip ^2.0.1
  • yarn 3.6.3
nvm
.nvmrc
  • node 18.17.1
terraform
infrastructure/main.tf
  • azurerm =3.40
terraform-version
infrastructure/.terraform-version
  • hashicorp/terraform 1.3.7

  • Check this box to trigger a request for Renovate to run again on this repository

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.