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.

This lesson is a Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.