Skip to content

Instantly share code, notes, and snippets.

@kuccello
Last active December 15, 2020 00:51
Show Gist options
  • Save kuccello/1b896e031368296bfe802de96a34cfbd to your computer and use it in GitHub Desktop.
Save kuccello/1b896e031368296bfe802de96a34cfbd to your computer and use it in GitHub Desktop.
Steps to create our workspace in Nx
mkdir -p ~/Development/Workspaces
cd ~/Development/Workspaces
npx create-nx-workspace
# Follow steps in CLI menu
# enter a name: eg. my-project
# create a nest app and name it eg. my-app
cd my-project
nx generate @nrwl/node:library data-model
npm i @prisma/cli -D
cd libs/data-model
npx prisma init
npm i [email protected] @prisma/client
npm i -D @prisma/cli
npm i nexus graphql --save
npm i sqlite3 --save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment