App runner is a simple service to serve compiled front end project.
It uses node js express framework to spawn a small server and serve index.html of the respective project.
- NodeJS = 9.5.0
- yarn = 1.3.2
- Google Chrome Browser
Add environment variable API_PATH
e.g. API_PATH = 'http://api.example.com'
- Run
yarn install
to downloadnode_modules
. - Copy the dist file of your front end project to app root directory.
- Run
yarn start
to run the app.