This is the the core for my Home Automation solution.
Run this inside api and client folders
$ npm install
Run this inside api folder only
$ npm run build
Run this on project root folder
$ docker-compose build
$ docker-compose up -d
Now you are ready to go ;)
$ npm rum prisma:studio
Before running a migration localy please stop the docker container for the api
$ npm rum prisma:migrate
$ npm rum prisma:seed
On installing new packages (api or client), run this command:
$ docker-compose up --build -d -V [CONTAINER]