Code Monkey home page Code Monkey logo

voting-system-using-block-chain's Introduction

Voting System using Block-Chain

A user can cast his vote by visiting this web platform. For web server scripting we have used python based web framework Django.

How to run

  1. Make sure you are connected to the internet.
  2. Install all the (pip) dependency packages (main packages are listed in requirements.txt).
  3. Locate EMAIL_ADDRESS and EMAIL_PASSWORD variable in Election/settings.py file and assign your valid credentials. (See References)
  4. Make sure email sending is allowed (while development process sending email every time is not a good idea because API allows us to send email only for limited no. of times.).

โ€‹ For this make sure send_otp() method in views.py file looks like this:

...
[success, result] = send_email_otp(email_input)
# [success, result] = [True, '0']
...

โ€‹ and get_parties() method in same file (views.py) looks like this:

...
send_email_private_key(request.session['email-id'], private_key)
# print(private_key)
...
  1. Locate manage.py file and run python manage.py runserver in the same directory.

  2. Locate the URL provided in the terminal and access that. by default it is http://127.0.0.1:8000.

References

voting-system-using-block-chain's People

Contributors

akvindian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

voting-system-using-block-chain's Issues

Password

What is Admin username name and password

INVALID AADHAAR

Its Showing invalid Adhaar even after making the suitable changes the api is not working properly

access

you wrote that "to access this page you need to deploy your own version or run it locally."

so how to deploy my own version or run it locally.

CSRF Cookie not set

hlw..
when the project is up and running and i enter my aadhar number and click on authenticate..the following error occours in console

Forbidden (CSRF cookie not set.): /authentication/
"POST /authentication/ HTTP/1.1" 403 2864

cannot find the solution for this , I have applied all procedures . I have also hosted this project to heroku to make a secure server
even then it is not working you can visit https://blockchain-voting-system.herokuapp.com/, there is the same error as mentioned as above. I cant find another way to connect to you therefore i mentioned this problem in issues.

csrf error

Forbidden (CSRF token missing or incorrect.): /authentication/
[05/Feb/2024 17:30:28] "POST /authentication/ HTTP/1.1" 403 2519

what is the solution for this??
I am stucking at this place

Please wait, you are being authenticated.

please help me to resolve this issue

Access

Need for a user name nd password.... kindly provide me the same..

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.