{"id":18835175,"url":"https://github.com/blockchainsllc/opinionator-backend","last_synced_at":"2026-01-26T17:30:21.058Z","repository":{"id":40784927,"uuid":"211818463","full_name":"blockchainsllc/opinionator-backend","owner":"blockchainsllc","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-24T00:41:36.000Z","size":1277,"stargazers_count":0,"open_issues_count":18,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T07:43:35.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/blockchainsllc.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-09-30T08:58:24.000Z","updated_at":"2023-10-18T09:39:39.000Z","dependencies_parsed_at":"2023-02-13T05:45:47.107Z","dependency_job_id":null,"html_url":"https://github.com/blockchainsllc/opinionator-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockchainsllc%2Fopinionator-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockchainsllc%2Fopinionator-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockchainsllc%2Fopinionator-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockchainsllc%2Fopinionator-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blockchainsllc","download_url":"https://codeload.github.com/blockchainsllc/opinionator-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239769734,"owners_count":19693929,"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","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":[],"created_at":"2024-11-08T02:14:53.129Z","updated_at":"2026-01-26T17:30:21.003Z","avatar_url":"https://github.com/blockchainsllc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blockchain-voting-backend\n\n## Documentation\n\nTo view the OpenAPI documentation:\n\n1.  Go to https://editor.swagger.io/\n2.  Copy'n'paste the content of `docs/openapi.yaml` into the editor\n3.  Enjoy!\n\n## Build/run with docker\n\nTo build this as a docker image run:\n\n`docker build -t blockchain-voting-backend .`\n\nTo run it on docker:\n\n`docker run -it --rm --init -p 9999:9999 blockchain-voting-backend`\n\nIt'll listen on port `TCP 9999` for http requests. `CTRL-C` to stop it.\n\n## Build/run old-fashioned\n\nMake sure to have installed:\n\n-   NodeJS (current LTS recommendeD)\n-   TypeScript `npm install -g typescript`\n-   The ability to build `node-gyp` modules\n\nTo build:\n\n1.  `npm install`\n2.  `tsc`\n\nTo run: `node ./build/server.js`\n\n## Configuration\n\nThe backend can be configured by some environment variables:\n\nVariable | Description | Default\n--- | --- | ---\n`DB_HOST` | Postgres database host | `localhost`\n`DB_USER` | Postgres database user | `votingadmin`\n`DB_PASSWORD` | Postgres database password | `supersecret`\n`CONTRACT_ADDR` | Ethereum smart contract address | `0x50ba2e417d573fcd67fab8ee5d6d764b105cd5f7`\n`PORT` | HTTP API port to listen on | 9999\n`RPC_URL` | URL to the ethereum client RPC | `http://localhost:8545`\n    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockchainsllc%2Fopinionator-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockchainsllc%2Fopinionator-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockchainsllc%2Fopinionator-backend/lists"}