Let’s build an NX monorepo with an express API that shares Typescript types with a NextJS applications that we then test with Cypress. So much to learn and do, let’s get into it!

  • 00:00 Introduction
  • 00:30 Creating the workspace
  • 02:00 Building the API
  • 06:31 Creating the NextJS App
  • 10:26 Creating the shared library
  • 11:20 Using the shared library
  • 15:00 Adding CORS
  • 15:55 Supporting SSR
  • 20:00 E2E testing
  • 24:20 Outroduction

Code: https://github.com/jherr/nx-with-exp-nextjs

#typescript #express #nextjs #next #react

Typescript NX Monorepo with NextJS and Express
5.20 GEEK