Skip to content

Instantly share code, notes, and snippets.

@jsonbytes
Created November 30, 2023 11:21
Show Gist options
  • Save jsonbytes/94f2b056a2b945bf876a5dbbe082901a to your computer and use it in GitHub Desktop.
Save jsonbytes/94f2b056a2b945bf876a5dbbe082901a to your computer and use it in GitHub Desktop.
Fullstack monorepo init command(s)
mkdir jsonbytes-monorepo
cd jsonbytes-monorepo
npm init -y
npm init -y --scope @jsonbytes -w packages/core
npm init -y --scope @jsonbytes -w packages/database
nest new -g -s -p npm --directory packages/api @jsonbytes/api
npm init -y --scope @jsonbytes -w packages/api
npm install @jsonbytes/core -w @jsonbytes/api
npm create vite@latest packages/webapp -- --template react-ts
npm init -y --scope @jsonbytes -w packages/webapp
npm install @jsonbytes/core -w @jsonbytes/webapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment