blockchainvoting

A block chain based voting app

https://github.com/mokshpunamiya/blockchainvoting

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.0%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

A block chain based voting app

Basic Info
  • Host: GitHub
  • Owner: mokshpunamiya
  • License: mit
  • Language: JavaScript
  • Default Branch: main
  • Size: 6.79 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

BlockChainVoting

A blockchain-based E-voting system, created as the mini project of Thadomal Shahani Engineering College. Teammates include me, Sayyam Gada and Charmee Mehta.

The application is MIT-Licensed.

Build Setup

```bash

install dependencies

npm install

serve with hot reload at localhost:3000

npm start ```

Create your own .env file and the file should contain: bash EMAIL=YOUR_EMAIL_ID PASSWORD=YOUR_PASSWORD_FOR_EMAIL_ID Install MetaMask extension (https://metamask.io/download.html) and make sure to have some Ether to test the application locally. Ether can be fetched from Rinkeby Faucet (https://faucet.rinkeby.io)

Note:

  • Make sure to install Node.js v11.14.0 to make sure the app runs fine. Testing for other node versions is yet to be done.
  • MongoDB must be working in background on localhost:27017
Please star the repo if it helped you in any way!

Tech Stack:

  • Solidity/Web3 (for writing/connecting the Blockchain contract)
  • Next.js & Semantic UI React (front-end)
  • MongoDB/ExpressJS/Node.js (back-end)
  • IPFS (file storage for images)

Screenshots of the app:

Homepage of the application:

Company registers/logs in:

Company creates an election if not created:

Dashboard on successful election creation:

List of candidates for the election (here, you can add candidates):

Candidate has been notified on the mail:

List of voters for the election (here, you can add voters):

Voters have been sent their secure usernames and passwords on the mail:

Voter login page:

Successful voting scenario:

Unsuccessful voting scenario:

Notification to each candidate and voter for the winner of candidates:

Owner

  • Login: mokshpunamiya
  • Kind: user

Citation (CITATION.cff)

# YAML 1.2
---
authors: 
  -
    family-names: Mehta
    given-names: Ansh
  -
    family-names: Mehta
    given-names: Charmee
  -
    family-names: Gada
    given-names: Sayyam
  -
    affiliation: "Prof."
    family-names: Kadukar
    given-names: Neeta
cff-version: "1.1.0"
date-released: 2019-06-01
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/mehtaAnsh/BlockChainVoting"
title: BlockChainVoting
version: "v1.0"
...

GitHub Events

Total
Last Year

Dependencies

package.json npm
  • mocha ^6.1.4 development
  • @zeit/next-css ^1.0.1
  • bcrypt ^3.0.6
  • body-parser ^1.18.3
  • chart.js ^2.8.0
  • chartjs ^0.3.24
  • chartjs-plugin-annotation ^0.5.7
  • dotenv ^8.2.0
  • express ^4.16.4
  • fs-extra ^7.0.1
  • ganache-cli ^6.4.1
  • ipfs-api ^26.1.2
  • js-cookie ^2.2.0
  • mongoose ^5.5.1
  • next ^8.0.3
  • next-routes ^1.4.2
  • nodemailer ^6.1.0
  • path ^0.12.7
  • react ^16.8.5
  • react-chartjs-2 ^2.7.6
  • react-dom ^16.8.5
  • react-helmet ^5.2.0
  • semantic-ui-css ^2.4.1
  • semantic-ui-react ^0.86.0
  • solc ^0.4.25
  • truffle-hdwallet-provider ^1.0.5
  • web3 ^1.0.0-beta.52
package-lock.json npm