eduardbme / overlay-service

Overlay service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overlay service


Production build

yarn install --production

Tests is not available for production build.

Run

NODE_PATH=. NODE_ENV=production node build/src/run --NODE_CONFIG='{"server": {"port": 8080}}'

NODE_PATH=. NODE_ENV=development node build/src/run --NODE_CONFIG='{"server": {"port": 8080}}'

API

Run overlay for the room

curl -d {} -H "Accept: application/json" -H "Content-Type: application/json" -X POST http://localhost:3000/v1/overlay --data '{"url": "https://meet.staging.livee.com:3001", "corrId": "1"}'

Stop overlay for the room

curl -d {} -H "Accept: application/json" -H "Content-Type: application/json" -X DELETE http://localhost:3000/v1/overlay --data '{"corrId": "1"}'

About

Overlay service


Languages

Language:TypeScript 97.6%Language:Dockerfile 1.9%Language:Shell 0.5%