- clone the repo and enter the
distilled
directory npm install
- open two terminal windows and launch the following commands:
npm run server
(first window)npm start
(second window)
- navigate to
http://localhost:9000
- NodeJS version: 8.9.4
- The frontent application is built with ReactJS
- The root component is
Layout.js
- In order to avoid the cross-origin limitations calling the breweryDB api, a minimal Express app is running as proxy server. The
npm run server
command starts the proxy and fetches the api data, upon request of the frontend.