Giter Site home page Giter Site logo

tawseefnabi / voting-dapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mohamedsgap/voting-dapp

0.0 1.0 0.0 13.79 MB

Built a decentralized voting application based on Ethereum Blockchain.

License: MIT License

HTML 0.64% CSS 0.30% JavaScript 39.97% Solidity 1.20% Shell 0.19% SCSS 57.71%

voting-dapp's Introduction

Decentralized Voting App

Built a decentralized voting app based on Ethereum Blockchain. Using Truffle React box, to get up and running so quickly with development process, by using Truffle, we started implementing the Smart Conract that handle the voting transactions, then we started designing the amazing UI we have and imporove it to be suitable as blochain app. We finally connent Smart Contract witt the frontend by using web3.js.

How it works

we deployed our Smart Contract on Rinkeby Test Network, by register on Infura, to get our access token, to enable everyone to vote on your app when we go for production, then everyone should have MetaMask, it's a plugin enables everyone to make a trasaction on blockchain network.

How to run our app

For blockchain side (smart contract):

if you want to run on a local blockchain network like Ganache

yarn global add truffle || npm  i -g truffle

truffle develop

compile

migrate

if you want to run on a publick blockchain network (for deployment) like Rinkeby Network

You should create .env file to store your Infura Token and Mnemonic Secret word of MetaMask

yarn global add truffle || npm  i -g truffle

truffle migrate --network rinkeby

For client side (frontend):

cd client

yarn || npm install

yarn start || npm run start

๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰ Made with โ™ฅ๏ธ by Mohamed Abdel Nasser && Mohamed Khaled. ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

voting-dapp's People

Contributors

mohamedsgap avatar dependabot[bot] avatar mohamedkhaledhafez avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.