{"id":15937989,"url":"https://github.com/reuseman/voting-dapp","last_synced_at":"2025-10-18T21:02:19.252Z","repository":{"id":134301152,"uuid":"388148422","full_name":"reuseman/voting-dapp","owner":"reuseman","description":"A DApp to elect the mayor of Valadilène","archived":false,"fork":false,"pushed_at":"2021-07-26T10:31:36.000Z","size":10914,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T20:14:26.746Z","etag":null,"topics":["dapp","erc20","ipfs","solidity","svelte","unipi","voting"],"latest_commit_sha":null,"homepage":"","language":"Svelte","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/reuseman.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-21T14:44:21.000Z","updated_at":"2024-02-21T15:58:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9532531-3b3f-4912-9fdb-3114ddb65b93","html_url":"https://github.com/reuseman/voting-dapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reuseman/voting-dapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reuseman%2Fvoting-dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reuseman%2Fvoting-dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reuseman%2Fvoting-dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reuseman%2Fvoting-dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reuseman","download_url":"https://codeload.github.com/reuseman/voting-dapp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reuseman%2Fvoting-dapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271998722,"owners_count":24856093,"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-08-25T02:00:12.092Z","response_time":1107,"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":["dapp","erc20","ipfs","solidity","svelte","unipi","voting"],"created_at":"2024-10-07T05:20:33.146Z","updated_at":"2025-10-18T21:02:14.220Z","avatar_url":"https://github.com/reuseman.png","language":"Svelte","readme":"# Peer to Peer and Blockchains assignment\nA simple DApp for the elections of a Mayor in the magical land of Valadilène. The vote is possible thanks to the Soul token, an implementation of the ERC20 standard. Contracts are written in Solidity, while the frontend is implemented with Svelte and deployed over [IPFS](https://valadilene.on.fleek.co/).\n\n![](docs/valadilene.gif)\n\n## How to start?\nThe [doc](docs/final_project.pdf) here contains all the information needed to understand the project. Otherwise you can simply run it by doing the following:\n\n### 1. Deploy the Smart Contracts (backend)\n\nInstall the dependencies and optionally run the test to check wheter everything works.\n\n    cd backend/\n    npm install\n    npm run test\n\nRun an instance of ganache to have a test network on which the contracts can be deployed.\n\n    npm run ganache\n\nDeploy the contracts.\n\n    npm run deploy\n\n\n### 2. Deploy the DApp (frontend)\n\nYou can go over [https://valadilene.on.fleek.co/](https://valadilene.on.fleek.co/) where a deployed version over IPFS can be found. Otherwise you can build it yourself by following the instructions below.\n\nInstall the dependencies.\n\n    cd frontend/\n    npm install\n\nCompile the frontend with Svelte and go over [http://localhost:5000/](http://localhost:5000/).\n\n    npm run build\n    npm run start","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freuseman%2Fvoting-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freuseman%2Fvoting-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freuseman%2Fvoting-dapp/lists"}