{"id":15192160,"url":"https://github.com/himanshub16/upnext-backend","last_synced_at":"2026-01-27T13:32:59.002Z","repository":{"id":57631540,"uuid":"173732354","full_name":"himanshub16/upnext-backend","owner":"himanshub16","description":"Implementing a shared queue in a mesh network","archived":false,"fork":false,"pushed_at":"2019-05-06T11:45:45.000Z","size":3502,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-06T09:07:57.137Z","etag":null,"topics":["bully-algorithm","distributed-systems","docker","docker-compose","golang","leader-election","mesh-networks","radio","websockets"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himanshub16.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-04T11:29:14.000Z","updated_at":"2021-06-23T12:33:58.000Z","dependencies_parsed_at":"2022-09-04T20:22:32.748Z","dependency_job_id":null,"html_url":"https://github.com/himanshub16/upnext-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/himanshub16/upnext-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshub16%2Fupnext-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshub16%2Fupnext-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshub16%2Fupnext-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshub16%2Fupnext-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himanshub16","download_url":"https://codeload.github.com/himanshub16/upnext-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshub16%2Fupnext-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28813539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bully-algorithm","distributed-systems","docker","docker-compose","golang","leader-election","mesh-networks","radio","websockets"],"created_at":"2024-09-27T21:05:48.848Z","updated_at":"2026-01-27T13:32:58.986Z","avatar_url":"https://github.com/himanshub16.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crowdsourced radio station\n\n### How this works?\nCheckout the slides at the link below.\n\nhttps://docs.google.com/presentation/d/e/2PACX-1vQqA42MCq5GiVDXQ_O2DU1hfi1XxY1MvQ_sFfEq17x6Ue-We8JyaG1KJEGQh-sSjELzZM34cyx3w1T0/pub?start=false\u0026loop=false\u0026delayms=3000\n\n\n### Instructions to run\n- Clone this repo and the [frontend client](https://github.com/littlewonder/upnext-frontend).\n\n- Copy `.env.tempalte` to `.env`, and edit the required variables. Make sure the cluster variables have a reachable IP address.\n- Start `postgres`\n```\ndocker-compose up postgres\n```\n\n- Start the discovery service.\n```\ndocker-compose up discovery\n```\n\n- Start as many services as you want (either in same shell, or different shell, as per your convenience).\n```\n# for same shell\ndocker-compose up backend_3030 backend_4040 backend_5050\n\n# for different shells\ndocker-compose up backend_3030\ndocker-compose up backend_4040\ndocker-compose up backend_5050\n```\n\n- Start `nginx` for load-balancing the frontend client with backend.\nMake sure `nginx-load-balancer.conf` has the right IP addresses.\n```\ndocker-compose up nginx\n```\n\n- Visit to the directory where you cloned the frontend, and run the command below. You might need to update `google login client ID` in the [frontend code](https://github.com/thelittlewonder/upnext-frontend/blob/master/src/components/SignInContainer.vue#L52).\n```\nnpm install\nPORT=8080 API_PORT=8000 npm run dev\n```\n\n\n---\n\n**TODO**: Add more text describing how it works.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshub16%2Fupnext-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimanshub16%2Fupnext-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshub16%2Fupnext-backend/lists"}