{"id":19670451,"url":"https://github.com/mat-sz/poll-web","last_synced_at":"2026-04-29T15:08:34.298Z","repository":{"id":128693823,"uuid":"262615041","full_name":"mat-sz/poll-web","owner":"mat-sz","description":"🗳️ Decision making software frontend (TypeScript/React/WebSockets).","archived":false,"fork":false,"pushed_at":"2020-07-01T16:04:33.000Z","size":474,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T03:49:35.801Z","etag":null,"topics":["react","reactjs","typescript","websocket"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause-clear","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mat-sz.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}},"created_at":"2020-05-09T16:43:40.000Z","updated_at":"2020-07-01T16:04:36.000Z","dependencies_parsed_at":"2023-06-04T15:00:20.061Z","dependency_job_id":null,"html_url":"https://github.com/mat-sz/poll-web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mat-sz/poll-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mat-sz%2Fpoll-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mat-sz%2Fpoll-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mat-sz%2Fpoll-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mat-sz%2Fpoll-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mat-sz","download_url":"https://codeload.github.com/mat-sz/poll-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mat-sz%2Fpoll-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32430890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"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":["react","reactjs","typescript","websocket"],"created_at":"2024-11-11T17:06:15.080Z","updated_at":"2026-04-29T15:08:34.256Z","avatar_url":"https://github.com/mat-sz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# poll-web\n\nEasy to use, self-hosted polling web application a React.js web interface. Fully written in TypeScript.\n\n## Self-hosting\n\n\u003e First you need to clone, build and run [poll-ws](https://github.com/mat-sz/poll-ws), read the README in poll-ws for more information on configuration.\n\u003e\n\u003e Then you need to clone this project, point it to the WebSockets backend (poll-ws) (in .env.local), build it and place it on some static file server (I use nginx for that). I also use nginx to proxy the back end through it. [Here's a guide on how to achieve that.](https://www.nginx.com/blog/websocket-nginx/)\n\n### Environment variables\n\nThe following variables are used in the build process:\n\n| Variable                       | Default value             | Description                                                                 |\n| ------------------------------ | ------------------------- | --------------------------------------------------------------------------- |\n| `REACT_APP_TITLE`              | `poll`                    | Application title.                                                          |\n| `REACT_APP_SERVER_WS`          | `ws://[hostname]:5000/ws` | WebSockets server location.                                                 |\n| `REACT_APP_SERVER_API`         | `http://[hostname]:5000/` | HTTP API server location.                                                   |\n| `REACT_APP_USE_BROWSER_ROUTER` | `0`                       | `1` if you want the application to use BrowserRouter instead of HashRouter. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmat-sz%2Fpoll-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmat-sz%2Fpoll-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmat-sz%2Fpoll-web/lists"}