Simple video hosting app backend based on Koa 2.
- Install Docker and Docker Compose
- Register your OAuth 2.0 app at https://console.developers.google.com/
- Set up
http://localhost:3000/auth/google/callback
as authorized redirect URI - Update
GOOGLE_CLIENT_ID
andGOOGLE_CLIENT_SECRET
indocker-compose.yml
- Set up
docker-compose up
- You can trigger authentication by going to http://localhost:3000/auth/google
docker-compose down
docker-compose up --build
Use stream_test.html
- just update the ID to that of the video you want to test