Monorepos with the open source toolkit Nx
So..you might not necessarily be a large team and distributed across the globe. But do you have multiple different apps across your company, like backend & frontend maybe, that need to integrate with each other? Or do you have a library of reusable UI components shared with all your teams? Or maybe you don’t because publishing is hard, versioning even more and then there’s backward compatibility! In this talk, I’m showing you how big companies like Google, Facebook and Microsoft solve this, why a monorepo might be a good choice and how the open source toolkit Nx, in particular, can help you with that.
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
SFScon 2020 - Juri Strumpflohner - Beyond Basics - Scaling Development across large teams
1. Beyond Basics
Scaling Development across large teams
Monorepos with the Open Source Toolkit Nx
@juristr • juri.dev • nrwl.io • nx.dev • nx.app
SFSCon - November, 2020
7. Your Team
Our team
Plan
Priorities, roadmap, technical
constraints, ideal end state
Train
Angular, React, RxJS, Ngrx,
Nx and monorepos
Embed & Support
we work alongside your team; help with
difficult challenges & ongoing training
nrwl.io/services
8. some of world's most ambitious Fortune 500 work with us
@juristr
Working at scale
19. @nrwl_io
Nx building blocks: Apps & Libs
app
core
shared
courses
sales
coupons
One big monolith
with a set of folders,
functioning as
feature boundaries
@juristr
44. One codebase to rule them all!
@juristr
● One git repository
● All your frontend & backend apps and libraries
● All your teams
(you don’t strictly need one single company-wide one; also multiple monorepos possible)
@nrwl_io
53. @juristr@nrwl_io
In a monorepo..
● 1 version of Angular/React
● 1 version of TypeScript
● 1 version of Jest / Karma &
Jasmine
● ...
● (one node_modules folder)
65. distributed cache
{ build, test, lint,... }
Nx
{ build, test, lint,... }
Nx
upload/download
command result
Local cache
Local cache
Victor Savkin: How to never build or test the same code twice
Distributed
computational
cache
@nrwl_io @juristr
66. distributed cache
{ build, test, lint,... }
Nx
{ build, test, lint,... }
Nx
upload/download
command result
Local cache
Local cache
Victor Savkin: How to never build or test the same code twice
Distributed
computational
cache
@nrwl_io @juristr
67. distributed cache
{ build, test, lint,... }
Nx
{ build, test, lint,... }
Nx
CI Server
{ build, test, lint,... }
upload/download
command result
Local cache
Local cache
Victor Savkin: How to never build or test the same code twice
Distributed
computational
cache
@nrwl_io @juristr
71. Scale React Development with Nx
by Juri Strumpflohner
🕑 1h 34m of video content
📚 Community notes
⁉ Learning Quizzes
💰 Completely free
https://egghead.io/playlists/scale-react-development-with-nx-4038