bit-portal
A frontend customer support that aggregates information for boost internal processes, and gives access to initiate / manage / inspect them.
A react frontend for agents to manage customers
You can use plop to create new react components for the portal.
yarn plop
You can run the web app with a mocked backend by running
yarn start
If changes occur in the schema.gql
(Portal API), you need may need to perform several updates on the Portal UI.
From the bit-portal directory
run
yarn build-types
This will update the auto generated bit-portal/src/__generated__/globalTypes.ts
A Query
is used to read or fetch values while a Mutation
is used to write or post values.
For a given UI screen (such as a form) GQL query/mutation is defined within the file /screens/<screen>/*.gql
For example: bit-portal/src/screens/new-pan-request/new-pan-request.screen.gql
Note: There should be a corresponding Query or Mutation defined in the schema.gql file.