- 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-lockfile
cd apps/api
go mod download
-
cp .env.example .env
and 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
- Set stream key to
proxy?user=satont&pass=q
- Create migration file
make create-migration name=<YOUR NAME HERE>
- Go to
migrations
dir and edit your newly created migration