Frontend Repository for Fyle Integrations Settings Dashboard App
required for running Integration setting app Integration Settings API
required based on the your needs qbd-api while working in QBD
Please refer this link to find the storybook of the project.
Follow instructions mentioned in Integrations Central
-
Run the
integrations-settings-api
service following instructions from Integrations Central -
Install dependencies
npm install
-
Copy
environment.json
from integrations-central/ and add it tosrc/environments
cp ../fyle-integrations-central/app-secrets/integrations-app/environment.json src/environments/environment.json cp ../fyle-integrations-central/app-secrets/integrations-app/config.json src/app/branding/config.json
-
Copy
fyle-environment.json
from integrations-central/ and add it tosrc/environments
cp ../fyle-integrations-central/app-secrets/integrations-app/fyle-environment.json src/environments/fyle-environment.json cp ../fyle-integrations-central/app-secrets/integrations-app/fyle-config.json src/app/branding/fyle-config.json
-
Copy
c1-environment.json
from integrations-central/ and add it tosrc/environments
cp ../fyle-integrations-central/app-secrets/integrations-app/c1-environment.json src/environments/c1-environment.json cp ../fyle-integrations-central/app-secrets/integrations-app/c1-config.json src/app/branding/c1-config.json
-
Run app
npm start
-
Run app in Fyle theme
npm run start:fyle
or
ng serve --configuration=fyle
-
Run app in Capital One theme
npm run start:c1
or
ng serve --configuration=c1
-
Run unit test
npm test
-
Checkout code coverage
- Naviage to coverage/index.html
- Right click and select
Reveal in Finder
- Open the file in chrome/other browser
-
Login to app
http://localhost:4200/auth/redirect