1.0.0 • Published 2 years ago
b2b-frontend v1.0.0
B2bFrontend
B2b micro-frontend application for dashboard, browsing and checkout
Project structure
Project consists of next applications:
- checkout
- dashboard
- partner
The root container is:
- shell
How to start
- Install dependencies
- In Swisscom network (or VDI):
npm config set registry https://artifactory.swisscom.com/artifactory/api/npm/oce-ref-npm-virtual/
npm login
Outside Swisscom network:
npm config set @swisscom:registry=https://bin.swisscom.com/artifactory/api/npm/oce-shared-npm-virtual/
npm login --registry https://bin.swisscom.com/artifactory/api/npm/oce-shared-npm-virtual/
npm install
- In Swisscom network (or VDI):
- Run the mfe application:
npm run local:mfe
Open in your browser the page :
You will be redirected to login page. Use
bob
as the username and the password.
How to run tests
Running unit tests
To run all unit test from ac command line, perform
npm run test
command.If you want to run tests from the Itellij IDEA you need to install Karma plugin.
Running E2E test
Checkout the cta-e2e git repository cta-e2e git and follow the instructions in README
1.0.0
2 years ago