Go to file
2019-08-29 14:16:13 +03:00
.vsc-templates FE-864: Claim details timeline (#46) 2019-06-25 18:53:23 +03:00
.vscode FE-886: Add claim management API (#57) 2019-08-12 16:34:18 +03:00
build_utils@b9b18f3ee3 FE-886: Add claim management API (#57) 2019-08-12 16:34:18 +03:00
e2e FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
schemes FE-891: Integration with search payments (#62) 2019-08-29 12:37:53 +03:00
src Renamed api to api-codegen (#76) 2019-08-29 14:16:13 +03:00
tools FE-886: Add claim management API (#57) 2019-08-12 16:34:18 +03:00
.gitignore Add sections module (#17) 2019-05-08 14:32:38 +03:00
.gitmodules FE-886: Add claim management API (#57) 2019-08-12 16:34:18 +03:00
.prettierignore FE-886: Add claim management API (#57) 2019-08-12 16:34:18 +03:00
.prettierrc FE-716: Layout modules (#3) 2018-12-13 16:22:47 +03:00
angular.json Renamed api to api-codegen (#76) 2019-08-29 14:16:13 +03:00
containerpilot.json FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
Dockerfile.sh FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
Jenkinsfile FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
Makefile FE-886: Add claim management API (#57) 2019-08-12 16:34:18 +03:00
nginx.conf FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
package-lock.json Added simple cache to shop service (#73) 2019-08-26 15:26:49 +03:00
package.json Added simple cache to shop service (#73) 2019-08-26 15:26:49 +03:00
README.md FE-886: Add claim management API (#57) 2019-08-12 16:34:18 +03:00
swagger-codegen-config.json Renamed api to api-codegen (#76) 2019-08-29 14:16:13 +03:00
tsconfig.json FE-886: Add claim management API (#57) 2019-08-12 16:34:18 +03:00
tslint.json FE-886: Add claim management API (#57) 2019-08-12 16:34:18 +03:00
webpack.extra.js Form control UI kit (#2) 2018-12-04 20:38:16 +03:00

Dashboard

Libraries

  • Angular CLI
    • Run ng generate component component-name to generate a new component (you can also use ng generate directive|pipe|service|class|guard|interface|enum|module).
    • To get more help use ng help or go check out the Angular CLI README.
  • Angular Material
  • Prettier

Initialization

# Install packages

npm ci

# Generate swagger API Angular modules

npm run codegen

Development server

  1. Run npm start
  2. Navigate to http://localhost:8000/

Production build

  1. Run npm run build
  2. The build artifacts will be stored in the dist/ directory.

Add API

  1. Add submodule

    git submodule -b <SCHEME_BRANCH> add <SCHEME_REPO> schemes/<SCHEME_NAME>/<VER:VX>
    
  2. Add submodule directory (schemes/<SCHEME_NAME>/<VER:VX>) to Makefile SWAGGER_SCHEMES_PATH

  3. Generate swagger API Angular modules

  4. Update config.json and stub-config.json

  5. Add src/api/<SCHEME_NAME>:

    • index.ts
    • <SCHEME_NAME>.module.ts
    • <SCHEME_NAME>-config.service.ts

Tests

  • Run npm run test to execute the unit tests via Karma.
  • Run npm run e2e to execute the end-to-end tests via Protractor.

Utils

Analyze bundle size

npm run build -- --prod --stats-json --extraWebpackConfig webpack.extra.js
npx webpack-bundle-analyzer dist/stats.json

Guides