cd base-app
yarn install
yarn run build
npx serve -s build
cd sample-express-app
yarn install
yarn start
cd iframe-app
yarn install
yarn run start
It has 3 components.
- iframe-app : It is the application which servers tha iframes as a final consumer application.
- base-app: It is the application which gets served inside each iframe. It has the business logic to call the API and
stich the response to UI. It also has the logic for API data sharing and update syncronisation with the help of
brodcast-channel
andreact-query
. - sample-express-app: It is the application acting like a backend and serving the response.