Web application built on Svelte.js and Firebase for watching movies together on different devices.
https://github.com/ed-asriyan/watch-together/assets/7848847/2d2799f1-cc79-4732-8657-74f78268b8c2
FIREBASE_SERVICE_ACCOUNT_KEY
repository secret{
"rules": {
"room": {
"$room_id": {
".read": true,
".write": true
}
},
"$other": {
".read": false,
".write": false
}
}
}
ENV_FILE_CONTENT
repository variable and copy content of filled by you .env file in itmake dev_install
Now you can run the dev server locally:
make dev_serve
Or generate production bundle:
make prod_build_bundle
Each push to master
triggers CD.yml pipeline that builds production bundle and published it on
Cloudflare Pages. To make it work you must have
GitHub repository environment variables:
ENV_FILE_CONTENT
with content of filled .envGitHub repository secrets:
CLOUDFLARE_PROJECT_NAME
- name of Cloudflare Pages projectCLOUDFLARE_ACCOUNT_ID
- Cloudflare account id that owns the projectCLOUDFLARE_API_TOKEN
- Cloudflare API token that have edit rights in the projectEvery 1 day of a month, teams last updated more than 31 days ago are deleted by clean-db.yml workflow. To make it work you must have:
GitHub repository environment variables:
ENV_FILE_CONTENT
GitHub repository secrets:
FIREBASE_SERVICE_ACCOUNT_KEY