Skip to content

vechr/things-service

Repository files navigation

Vechr Logo

Edit your .env file

There's PORT for this app, Your NATS URL, and Database things

APP_PORT=3000
NATS_URL=nats://localhost:4222
DB_URL="postgresql://Vechr:123@localhost:5432/things-db?schema=public"

Running Thing Service

yarn install
yarn prisma:sync
yarn db:migrate
yarn db:studio
yarn watch

Build Image for Production

chmod +x ./docker/build.sh
./docker/build.sh