$ cd packages/app-routes && npm run build
$ cd ../monorepo-ts-shared && npm run build
$ cd ../../ && npm run lerna
$ npm run envgen
$ docker-compose up
Open a new bash and run each service indivicually
$ cd service/auth-service/prisma && npx prisma generate && npx prisma db push
$ cd service/o-auth-service/prisma && npx prisma generate && npx prisma db push
Create new service
# give services directory and service name ./<<services-dir>>/<<service-name>>
$ npm run service:create -- ./services/new-example-service
$ npm run lerna
About
microservice architecture with the Database per Service pattern.