GithubHelp home page GithubHelp logo

50um3n / e-voting-dapp Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 2.9 MB

Voting system using Blockchain

HTML 0.55% JavaScript 84.11% SCSS 3.47% Solidity 11.87%
blockchain blockchain-technology etherium solidity reactjs voting-application hacktoberfest

e-voting-dapp's Introduction

E Voting is an simple Ethereum DAPP

This E Voting system client is made using ReactJs and backend is made using Solidity having proper test written.

Features

The account used to deploy the contract will be the admin account.

  • Add multiple teams standing for vote having fields (Team Name, Representative and Team description).
  • User can login to his/her account using metamask and register for voting. User must provide first name, last name, email, UIDAI, date of birth (18 or above).
  • User must be verified by the admin to give vote.
  • After verification user is eligible to give vote to a team.

Dependency

  • Node Js

  • Truffle First install Node Js. As we use truffle so must have to install the truffle as a global or local dependency using npm

    npm i truffle

Test the contract

truffle test

Setup (For development)

Deploy the smart contract in the ganache or the truffle

The truffle configure file configured as deploying the contract to ganache by changing that you can deploy it to truffle

truffle develop

it will open a truffle console, then type

migrate --reset

React Client

Install all the dependency for react

npm install

To start the react development server

npm start

Then go to http:localhost:3000 and enjoy ๐Ÿฅณ.

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.