This document explains how the application code flows and is structured, ie. "what code goes where" and teaches you application specific terminology.
The application is a Single Page Application bundled by webpack.
Webpack outputs an index.html with the script tags required to bootstrap the application already embedded. All required assets and scripts will be output to the dist folder. To serve the application simply serve the dist folder.
In development we use webpack-dev-server
to automate this process, so this is something that you only need to care about if working with the build or deployment infrastructure.
In production we also render the application server side to improve SEO (see server.tsx).