Skip to content

JavaScript / TypeScript Monorepo Setup with PNPM Workspaces, Vite and TailwindCSS

Notifications You must be signed in to change notification settings

jschwartzbeck/demo-monorepo

 
 

Repository files navigation

Demo Monorepo

This is is an educational project that accompanies two YouTube videos:

The project shows how to set up a monorepo with TypeScript, PNPM, Vite, VueJS and TailwindCSS, and how to use DevSpace to develop Kubernetes apps locally.

Prerequisites To run this project, you need:

  • Node.js 14 or higher

  • PNPM 6 or higher

  • Docker Desktop (or any other Kubernetes cluster such as Minikube, Kind, etc.)

  • DevSpace CLI installed

Installation:

To install the dependencies, run:

pnpm install

To build the ui-lib, run:

pnpm lib build

or in whatch mode:

pnpm lib dev

Usage

To start the frontend app, run:

pnpm client dev

To start the backend app, run:

pnpm svr dev

To deploy the apps to Kubernetes using DevSpace, run:

kubectl create namespace demo

devspace use namespace demo

devspace dev

For more details and explanations, please watch the YouTube videos.

About

JavaScript / TypeScript Monorepo Setup with PNPM Workspaces, Vite and TailwindCSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 28.3%
  • TypeScript 27.2%
  • Shell 20.1%
  • JavaScript 12.7%
  • HTML 10.1%
  • CSS 1.6%