/react-external-integration-starter

A starter kit for the tutorial on how to integrate react with external applications

Primary LanguageJavaScript

react-external-integration-starter

This is a starter project to follow along with the toturial on how to integrate react with external applications.

It contains 2 projects:

  1. counter-app - a simulation of an isolated stand-alone "mini app" or a widget.
  2. main-app - a simulation of an external application to the react mini-app / widget.

running the projects

(this project is based on create-react-app)

main-app

cd main-app
npm install
npm start

counter-app

cd counter-app
npm install
npm start

build

npm run build

note: the build proccess of counter-app is modified, the output directory is targetting to "/main-app/public/counter_dist".