Using create-react-app with hapi.js
Jamie Barton

Thanks for this!

Alternatively, if you have an existing server (we did, and are using Typescript): run create-react-app from your project directory. Call the project ‘client’. Now you have a neat and clean ‘client’ subfolder that is a self-contained React project, and you can serve those files statically from your Hapi server as in this article.

For rapid development, in Debug mode you can proxy the files from localhost so you get the instant turnaround from the create-react-app development server and don’t have to wait for the client directory to Build each time, since that’s a long process including minification:

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.