In my previous two posts, I explained the process of connecting React to a Flux store and getting external data from an API into Flux. Using the Facebook Flux examples’ model of manually building an index.html file is great for learning, but now I want to serve my app according to a standard 12-Factor compliant model. This will allow me to publish my app to a server or Docker container for hosting
![Serving React and Flux with Hapi and Webpack](https://cdn-ak-scissors.b.st-hatena.com/image/square/cb96c3a9e7c0fac99bd528569fb0554f44be5a5d/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A720%2F1%2AHhGwYW0xvL__lRa6z7q4Qw.png)