This is a repo for testing sharing one prisma schema between multiple microservice repos via git submodules. The main repo is here.
- Run
yarn install
to install dependencies - Run
git submodule update --init
to initialize the subrepo "prisma" (which holds the schema) - Copy
.env.example
to.env
and fill in the DB string - Run
yarn run prisma:generate
to generate prisma client