{"id":19460184,"url":"https://github.com/offchainlabs/demo-dapp-election","last_synced_at":"2025-10-08T01:15:14.656Z","repository":{"id":39481712,"uuid":"189682003","full_name":"OffchainLabs/demo-dapp-election","owner":"OffchainLabs","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-06T01:52:54.000Z","size":2699,"stargazers_count":8,"open_issues_count":20,"forks_count":5,"subscribers_count":17,"default_branch":"master","last_synced_at":"2023-03-04T01:35:12.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OffchainLabs.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}},"created_at":"2019-06-01T02:38:56.000Z","updated_at":"2022-11-16T14:02:18.000Z","dependencies_parsed_at":"2023-02-05T02:02:09.954Z","dependency_job_id":null,"html_url":"https://github.com/OffchainLabs/demo-dapp-election","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OffchainLabs%2Fdemo-dapp-election","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OffchainLabs%2Fdemo-dapp-election/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OffchainLabs%2Fdemo-dapp-election/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OffchainLabs%2Fdemo-dapp-election/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OffchainLabs","download_url":"https://codeload.github.com/OffchainLabs/demo-dapp-election/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223989535,"owners_count":17237098,"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-10T17:35:52.169Z","updated_at":"2025-10-08T01:15:09.618Z","avatar_url":"https://github.com/OffchainLabs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Election - DAPP Tutorial\n\nBuild your first decentralized application, or Dapp, on the Ethereum Network with this tutorial!\n\n**Full Free Video Tutorial:**\nhttps://youtu.be/3681ZYbDSSk\n\nFollow the steps below to download, install, and run this project.\n\n## Dependencies\n\nInstall these prerequisites to follow along with the tutorial. See free video tutorial or a full explanation of each prerequisite.\n\n-   NPM: https://nodejs.org\n-   Truffle: https://github.com/trufflesuite/truffle\n-   Ganache: http://truffleframework.com/ganache/\n-   Metamask: https://metamask.io/\n\n## Step 1. Clone the project\n\n`git clone https://github.com/dappuniversity/election`\n\n## Step 2. Install dependencies\n\n```\n$ cd election\n$ npm install\n```\n\n## Step 3. Start Ganache\n\nOpen the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance. See free video tutorial for full explanation.\n\n## Step 4. Compile \u0026 Deploy Election Smart Contract\n\n`$ truffle migrate --reset`\nYou must migrate the election smart contract each time your restart ganache.\n\n## Step 5. Configure Metamask\n\nSee free video tutorial for full explanation of these steps:\n\n-   Unlock Metamask\n-   Connect metamask to your local Etherum blockchain provided by Ganache.\n-   Import an account provided by ganache.\n\n## Step 6. Run the Front End Application\n\n`$ npm run dev`\nVisit this URL in your browser: http://localhost:3000\n\nIf you get stuck, please reference the free video tutorial.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffchainlabs%2Fdemo-dapp-election","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foffchainlabs%2Fdemo-dapp-election","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffchainlabs%2Fdemo-dapp-election/lists"}