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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.