Video Call in action

You got the application ready, so let's test it locally. First, generate the production build for your app. You have already done this before in the Event Registration app. You need to set NODE_ENV=production in your .env file.

After that, in your project root folder, kill Webpack dev server and run the npm run webpack command. It should generate the production builds for your JS and CSS files. The filename will be available in the dist/manifest.json file. Include those CSS and JS files in your index.html page.

Now, run http-server in your project root folder. It should print two IP address. Open the one starting with 192 in your browser. This IP address is accessible to all the devices in your LAN, unless you have blocked ...

Get JavaScript by Example now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.