- Run needed services (Postgres, Mediamtx, e.t.c)
docker compose -f docker-compose.dev.yml up -d- Install dependencies
cd apps/frontend
pnpm install --frozen-lockfilecd apps/api
go mod download-
cp .env.example .envand fill required envs -
Run api
go run apps/api/cmd/main.go- Run frontend
cd apps/frontend
pnpm dev- Run stream (optional)
- Go to OBS -> Settings -> Stream
- Set server to
rtmp://localhost - Copy stream key from
Profile->Streamfrom the site
- Create migration file
make create-migration name=<YOUR NAME HERE>- Go to
migrationsdir and edit your newly created migration