Express is a mature, minimal, and an open source web framework for making web applications and apis.
Requirements
Section titled “Requirements”The @nx/express plugin supports the following package versions.
| Package | Supported Versions |
|---|---|
express | ^4.21.2 |
Nx generators install the latest supported versions automatically when scaffolding new projects.
Create a New Workspace
Section titled “Create a New Workspace”To create a new workspace with a pre-created Express app, run the following command:
npx create-nx-workspace --preset=expressSetting Up @nx/express
Section titled “Setting Up @nx/express”Installation
Section titled “Installation”In any Nx workspace, you can install @nx/express by running the following command:
nx add @nx/expressThis will install the correct version of @nx/express.