{"id":31648213,"url":"https://github.com/toweringcloud/express-wetube-challenge","last_synced_at":"2025-10-07T06:59:38.261Z","repository":{"id":303627578,"uuid":"1015405485","full_name":"toweringcloud/express-wetube-challenge","owner":"toweringcloud","description":"fullstack video community web app using express v4 + pug + ffmpeg + mongodb + minio","archived":false,"fork":false,"pushed_at":"2025-07-16T05:53:48.000Z","size":175,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-16T06:57:20.205Z","etag":null,"topics":["cloudflare-r2","falai","flyio","github-oidc","mongodb-atlas"],"latest_commit_sha":null,"homepage":"https://express-wetube-challenge.fly.dev","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toweringcloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-07T13:02:29.000Z","updated_at":"2025-07-16T05:53:52.000Z","dependencies_parsed_at":"2025-07-08T16:23:53.112Z","dependency_job_id":null,"html_url":"https://github.com/toweringcloud/express-wetube-challenge","commit_stats":null,"previous_names":["toweringcloud/express-wetube-challenge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/toweringcloud/express-wetube-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toweringcloud%2Fexpress-wetube-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toweringcloud%2Fexpress-wetube-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toweringcloud%2Fexpress-wetube-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toweringcloud%2Fexpress-wetube-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toweringcloud","download_url":"https://codeload.github.com/toweringcloud/express-wetube-challenge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toweringcloud%2Fexpress-wetube-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278734415,"owners_count":26036404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare-r2","falai","flyio","github-oidc","mongodb-atlas"],"created_at":"2025-10-07T06:59:35.793Z","updated_at":"2025-10-07T06:59:38.252Z","avatar_url":"https://github.com/toweringcloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-wetube-challenge\n\nfullstack video community web app using express v4 + pug + ffmpeg + mongodb + minio\n\n## how to run\n\n### setup\n\n- install latest nodejs runtime\n\n```sh\n$ node -v\nv22.16.0\n\n$ npm -v\n10.9.2\n```\n\n### configure\n\n- install packages with npm packager\n\n```sh\n$ npm init\n$ npm i\n```\n\n- create runtime variables\n\n```sh\n$ cat .env\nMODE=DEV\nAPI_SERVER_URL=http://localhost\nAPI_PORT_NO=3000\nCOOKIE_SECRET={YOUR_COOKIE_SECRET}\nGITHUB_API_URL=https://api.github.com\nGITHUB_AUTH_URL=https://github.com/login/oauth\nGITHUB_CALLBACK_URL=http://localhost:3000/github/callback\nGITHUB_CLIENT_ID={YOUR_GITHUB_CLIENT_ID}\nGITHUB_CLIENT_SECRET={YOUR_GITHUB_CLIENT_SECRET}\nDATABASE_URL=mongodb://id:pw@127.0.0.1:27017/wetube\nSTORAGE_SERVER=\"minio | cloudflare r2 | aws s3\"\nSTORAGE_REGION=auto\nSTORAGE_ENDPOINT_URL={YOUR_ENDPOINT_URL}\nSTORAGE_ACCESS_KEY_ID={YOUR_ACCESS_KEY_ID}\nSTORAGE_SECRET_ACCESS_KEY={YOUR_SECRET_ACCESS_KEY}\nSTORAGE_DOWNLOAD_URL_VIDEO={YOUR_PUBLIC_VIDEO_DOMAIN}\nSTORAGE_DOWNLOAD_URL_IMAGE={YOUR_PUBLIC_IMAGE_DOMAIN}\n```\n\n### launch\n\n- run nodejs apps with development mode\n\n```sh\n$ npm run dev:assets\nasset js/main.js 3.41 KiB [compared for emit] (name: main)\nasset css/styles.css 881 bytes [compared for emit] (name: main)\n...\nwebpack 5.99.9 compiled successfully in 823 ms\n\n$ npm run dev:server\n...\n[nodemon] starting `babel-node src/index.js`\n✅ Server listenting on http://localhost:4567 🚀\n✅ Connected to DB\n```\n\n- deploy nodejs apps with production mode\n\n```sh\n$ curl -L https://fly.io/install.sh | sh\n$ fly launch\n$ fly deploy\n```\n\n### test\n\n- download sample video file\n  - [Pexcel](https://www.pexels.com)\n  - [Others](https://www.sample-videos.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoweringcloud%2Fexpress-wetube-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoweringcloud%2Fexpress-wetube-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoweringcloud%2Fexpress-wetube-challenge/lists"}