U

Upskills

  • Tutorials
  • Showcases
Sign In

© 2026 Upskills. All rights reserved.

Privacy PolicyTerms of Service
DiscordX
  1. Home
  2. Tutorials
  3. Build Your First NX Workspace
Indie Dev ToolkitPart 2 of 2

Chapter 1: NX Monorepo Guide

Build Your First NX Workspace

Vu Nguyen
Lead Engineer, NAB - Jan 27, 2026

This is Part 2 of our NX Monorepo series. Now that you understand the architecture concepts from Part 1, it's time to put that knowledge into practice by building your own NX workspace from scratch.

Follow along step-by-step with a framework-agnostic guide that works with any tech stack, React, Angular, Vue, Node.js, or any other framework supported by NX plugins.

Prerequisites

  • Completed Part 1 of this series (Introduction & Architecture)
  • Node.js 18+ installed on your machine
  • VSCode or similar IDE
monorepo/
├── apps/ # Thin, deployable entry points
│ ├── web-app/ # Main Web App
│ ├── mobile-app/ # Main Mobile app
│ ├── api-server/ # Nodejs Backend API
│ └── admin-dashboard/ # Admin App
│
├── libs/ # Where the actual code lives
│ ├── web-modules/ # App-specific feature modules
│ │ └── src/
│ │ ├── feature-auth/
│ │ ├── feature-dashboard/
│ │ └── feature-settings/
│ ├── ui/ # Shared UI components
│ │ └── src/
│ │ ├── button/
│ │ ├── card/
│ │ └── modal/
│ ├── shared/ # Shared types, utils, constants
│ │ └── src/
│ │ ├── types/
│ │ ├── utils/
│ │ └── constants/
│ └── db/ # Database layer
│ └── src/
│ ├── prisma/
│ └── queries/
│
├── tools/ # Custom scripts and generators
├── nx.json # NX workspace configuration
├── tsconfig.base.json # Path aliases configuration
└── package.json # Dependencies and scripts


About the author

Vu Nguyen

Vu Nguyen

NAB, Lead Engineer

I'm Vu, a Lead Engineer at NAB (National Australia Bank). I started on Home Lending products and now lead a team building products for HICAPS, Australia's largest point of sale claiming service for private health insurance. Before NAB, I worked at startups and across a range of teams and stacks.

Upskills is where I share practical, real-world knowledge to help others build and maintain projects better. Beyond tutorials, more content is coming: project showcases, interview prep, and AI tools as resources for your learning journey. I'm excited to share what I've learned and keep learning together as we build cool things.

GitHubXXXLinkedin
From the Upskills newsletter

Hope you liked Build Your First NX Workspace. Want the next one in your inbox?

Practical web development deep-dives, every other week, written by an engineer who ships them. No fluff, no hot takes.

  • Real-world, production-grade examples
  • No spam, ever
  • Unsubscribe in one click

We respect your privacy. Unsubscribe anytime.