Go to file
2022-11-30 08:57:13 +06:00
.github TD-359: Add transloco keys manager. Fix translations. Optimize translation JSONs (#79) 2022-08-03 16:26:23 +03:00
.idea OPS-180,182: Use org party for req-s (#93) 2022-11-30 08:57:13 +06:00
.run TD-372: Organization fixes; add BDT currency; update swag payments (#84) 2022-09-06 15:56:35 +03:00
.vscode OPS-180,182: Use org party for req-s (#93) 2022-11-30 08:57:13 +06:00
src OPS-180,182: Use org party for req-s (#93) 2022-11-30 08:57:13 +06:00
tools TD-248: New ANAPI V2 (#63) 2022-04-19 11:11:55 +03:00
.browserslistrc FR-623: New Angular - 12 (#483) 2021-08-02 18:06:09 +03:00
.eslintrc.js TD-248: New ANAPI V2 (#63) 2022-04-19 11:11:55 +03:00
.gitignore OPS-180,182: Use org party for req-s (#93) 2022-11-30 08:57:13 +06:00
.prettierignore TD-248: New ANAPI V2 (#63) 2022-04-19 11:11:55 +03:00
.prettierrc TD-96: Customizable logo (#13) 2022-01-20 17:44:44 +03:00
angular.json OPS-180,182: Use org party for req-s (#93) 2022-11-30 08:57:13 +06:00
crowdin.yml Fix withdrawal amount (#39) 2022-02-18 11:00:14 +03:00
Dockerfile TECHDEBT-36: Add CI check and build (#9) 2022-01-17 11:20:10 +03:00
icons-config.json Simplify theme config (#398) 2021-03-05 13:29:56 +03:00
karma-ci.conf.js [epic] Operations payments refactoring (#371) 2021-01-28 13:21:24 +03:00
karma.conf.js [epic] Operations payments refactoring (#371) 2021-01-28 13:21:24 +03:00
LICENSE Let's make it opensource (#547) 2021-08-13 18:16:37 +03:00
nginx.conf FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
package-lock.json Fix cancel payment & refactor orgs (#91) 2022-11-11 18:48:05 +06:00
package.json OPS-180,182: Use org party for req-s (#93) 2022-11-30 08:57:13 +06:00
README.md TD-372: Organization fixes; add BDT currency; update swag payments (#84) 2022-09-06 15:56:35 +03:00
renovate.json Add JPY (#40) 2022-02-23 01:04:02 +03:00
transloco.config.js TD-359: Add transloco keys manager. Fix translations. Optimize translation JSONs (#79) 2022-08-03 16:26:23 +03:00
tsconfig.app.json Bump to Angular@9 (#184) 2020-03-30 16:40:22 +03:00
tsconfig.json OPS-180,182: Use org party for req-s (#93) 2022-11-30 08:57:13 +06:00
tsconfig.spec.json Update to angular 10 (#376) 2021-02-04 17:57:52 +03:00
webpack.extra.js TECHDEBT-36: Bump Angular@13 and fixes (#8) 2022-01-14 14:06:44 +03:00

Dashboard

Libraries

Guides

Installation

  1. Add environment and configurations:

    • src/appConfig.json:

      {
          "apiEndpoint": "https://api.xample.com",
          "urlShortenerEndpoint": "https://shrt.example.com",
          "checkoutEndpoint": "https://checkout.example.com",
          "docsEndpoints": {
              "payments": "https://example.com/docs"
          },
          "theme": {
              "name": "main"
          },
          "sentryDsn": "https://public@sentry.example.com/1",
          "keycloakEndpoint": "https://auth.example.com",
          "fileStorageEndpoint": "https://fs.example.com"
      }
      
    • src/authConfig.json:

      {
          "realm": "external",
          "auth-server-url": "https://auth.example.com/auth/",
          "ssl-required": "external",
          "resource": "koffing",
          "public-client": true
      }
      
  2. Install packages

    npm ci
    

Development server

  1. 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.

Tests

  • Run npm run test to execute the unit tests via Karma.

Utils

Analyze bundle size

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