A comms app that uses websockets(text, media) and webrtc(live video).
- Backend: Golang
- Frontend: Vuejs/Typescript
- Database: Postgresql, S3
- Clone the repo:
git clone https://github.com/vishruth-thimmaiah/yacc.git cd yacc
- Environment Variables:
create a .env and fill in the following:
- POSTGRES_URL
- OAUTH_GOOGLE_CLIENT
- OAUTH_GOOGLE_SECRET
- AWS_ENDPOINT_URL
- AWS_REGION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
-
Install golang and bun:
-
build the frontend:
cd frontend bun run build cd ..
-
Build the backend:
go build -ldflags "-s -w" -o yacc
-
Run with:
./yacc
- Building:
sudo docker build --tag yacc .
- Running:
sudo docker run -p 8000:8000 yacc