Connect to an Express.js API from a React app in an Nx Workspace

Share this video with your friends

Send Tweet

Nx is not only capable of scaffolding frontend projects, but it also supports a lot of backend setups. In this specific lesson, we're going to explore the setup we previously generated, specifically inspecting how passing --frontentProject to the Express.js schematic automatically sets up a Webpack dev proxy to make it easy to call the backend API.