Blockchain Based Voting System | Demo

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • Get Source code from here:
    github.com/rom...
    Feel free to reach me out for any queries or work:
    Instagram link: / romanshilpakar
    You must have pre installed:
    1. Node js
    nodejs.org/en/
    2. Truffle
    trufflesuite.c...
    3. MySQL
    www.mysql.com/
    admin login detail:
    email: john@gmail.com
    password: john@gmail.com
    Some Commands:
    1. create user bbvs@localhost identified with mysql_native_password by 'Password00$$' ;
    2. grant all privileges on . to bbvs@localhost ;
    3. create database bbvs;
    4. truffle migrate
    5. truffle migrate --reset
    6. npm run typeorm migration:run
    7. .env file
    ACCESS_TOKEN_SECRET=976a66a5bd23b2050019f380c4decbbefdf8ff91cf502c68a3fe1ced91d7448cc54ce6c847657d53294e40889cef5bd996ec5b0fefc1f56270e06990657eeb6e
    REFRESH_TOKEN_SECRET=5f567afa6406225c4a759daae77e07146eca5df8149353a844fa9ab67fba22780cb4baa5ea508214934531a6f35e67e96f16a0328559111c597856c660f177c2
    My social media handles:
    INSTAGRAM: / romanshilpakar
    TWITTER: / romanshilpakar8
    FACEBOOK: / iamroomyan
    CZcams: / roomyanislive

Komentáře • 192

  • @ROOMYAN
    @ROOMYAN  Před rokem +2

    Solved !!! : If you are running this project on windows and got the error "Invalid Json rpc response" then it is due to ganache, to solve this error you must deploy this project on testnet rather than on ganache. Contact me on instagram if you couldn't solve it yourself and if you want to add more functionalities to this project:
    For mac and linxus os, the project runs fine
    Instagram link: instagram.com/romanshilpakar/

    • @justsongsandsunny6122
      @justsongsandsunny6122 Před 10 měsíci

      can you please make the changes in the code as well?

    • @sidsurve-ko9lp
      @sidsurve-ko9lp Před 6 měsíci

      Sir please can you changes in code we are waiting for this project

    • @manushetty12
      @manushetty12 Před měsícem

      Hi sir, Can you please tell me the password, after that sudo mysql?which is in 3:02

  • @vasanthv4233
    @vasanthv4233 Před 4 měsíci +1

    I am getting error while runing frontend npm install .help me with this brooo

  • @filmexpress3
    @filmexpress3 Před 6 měsíci +1

    What version of Node js, truffle & mysql were you using at that time of this project?

  • @next_uptv113
    @next_uptv113 Před 7 měsíci +3

    Error: Cannot find module 'C:\Users\Shuvo\Downloads\project2\Blockchain-Based-Voting-System\frontend
    ode_modules
    eact-scripts\bin
    eact-scripts.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
    code: 'MODULE_NOT_FOUND',
    requireStack: []
    getting this on npm start on fronend anyone want to help

  • @ManishKumar-pn4hg
    @ManishKumar-pn4hg Před 7 měsíci +1

    alg se kuch hardware nhi na use huaa h is project ko run krne k liye ??

  • @anjushasingh5243
    @anjushasingh5243 Před 2 lety +1

    Do u remember me bro??
    Btw after a very long time...
    Still remember the days you streamed cr videos ❤️❤️

  • @sridevibr1230
    @sridevibr1230 Před 5 měsíci

    how to rectify the access denied in mysql.i gave all things what you mentioned in description box

  • @jahidhasan2455
    @jahidhasan2455 Před 2 lety

    Love you! - Powered By Dimension Bots

  • @virajshete432
    @virajshete432 Před 10 měsíci +1

    sir its giving network error

  • @Sachinkumar-qf6ws
    @Sachinkumar-qf6ws Před 3 měsíci

    its giving an network error please solve

  • @rohannashikkar55
    @rohannashikkar55 Před 4 měsíci +1

    It is giving me server error when i try to login with the given email id and password . Someone plzz help asap

    • @step1313
      @step1313 Před 3 měsíci

      estou enfrentando o mesmo erro

  • @ESCSPranesh
    @ESCSPranesh Před rokem

    Thank you soo much 💯🤗

  • @vaishnaviwadkar5375
    @vaishnaviwadkar5375 Před měsícem

    in login page for john what password need to be put

  • @jatinpanghal2570
    @jatinpanghal2570 Před 9 měsíci

    how to we verify user?
    edit: ok got it, sorry for dumb question. thanks a lot mate, it really helped.

    • @abhishek_singh512
      @abhishek_singh512 Před 9 měsíci

      Hello bro --- You doing Same Project please reply
      --- I am also doing Same Project in My College --- please reply

  • @manushetty12
    @manushetty12 Před měsícem

    Hi sir, Can you please tell me the password, after that sudo mysql?which is in 3:02

  • @deepanvijayasarathi6746
    @deepanvijayasarathi6746 Před rokem +1

    Show no migration pending

  • @sachinathlete5819
    @sachinathlete5819 Před 6 měsíci

    Can we able to change admin?

  • @fortwink3136
    @fortwink3136 Před rokem

    i have error during migration run. It is Error: connect ECONNREFUSED ::1:3306 and eerno:-61 what is it. How can I solve it?

    • @ROOMYAN
      @ROOMYAN  Před rokem

      replace "host": "localhost" with "host": "127.0.0.1" on ormconfig.json

  • @alvarodelgado940
    @alvarodelgado940 Před 2 lety

    You are awesome!

  • @kikozozo1527
    @kikozozo1527 Před 2 lety

    super great

  • @swethas3569
    @swethas3569 Před 5 měsíci

    i'm getting this error while typing in teminal cd frontend/ cd : Cannot find path 'C:\Users\swetha.s\Downloads\Blockchain-Based-Voting-System-main\frontend' because it does not exist.
    At line:1 char:1
    + cd frontend
    + ~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (C:\Users\swetha...m-main\frontend:String) [Set-Location], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

  • @aomo5293
    @aomo5293 Před rokem

    Thank you so much !

    • @ailachanakyadarahas6156
      @ailachanakyadarahas6156 Před rokem +1

      Sir/madam , did u executed that project?

    • @aomo5293
      @aomo5293 Před rokem

      @@ailachanakyadarahas6156 yes

    • @aminabcf5749
      @aminabcf5749 Před rokem +1

      @@aomo5293 i need your help can i have your instagram or something!

    • @aomo5293
      @aomo5293 Před rokem

      @@aminabcf5749 how can I contact y?

    • @aminabcf5749
      @aminabcf5749 Před rokem +1

      @@aomo5293 what do u use as social media

  • @pierrescr8440
    @pierrescr8440 Před 2 lety

    respect

  • @sakshamsingh5150
    @sakshamsingh5150 Před rokem +1

    i am syuck on database part 'sudo my sql ' please help sir

    • @ROOMYAN
      @ROOMYAN  Před rokem

      have you installed mysql database? Btw i used linux os in the videos. So commands may be different for other os

    • @aqsaiftikhar8146
      @aqsaiftikhar8146 Před 5 měsíci

      For windows that command not works type this command
      mysql -u root -p
      Before running this command mysql must be installed

  • @rayen-tu5nw
    @rayen-tu5nw Před 2 lety +1

    Nice

  • @Jonjonjonj
    @Jonjonjonj Před 2 lety +1

    Que legal massa cara

  • @karamelproyk
    @karamelproyk Před 2 lety

    okeee brooo

  • @mlbblingstore
    @mlbblingstore Před 2 lety

    Yo man nice

  • @reaper8f
    @reaper8f Před rokem

    cant perform npm install in frontend it throws error, when i run npm start its throw react scripts not found

    • @ROOMYAN
      @ROOMYAN  Před rokem

      from chatgpt:
      If you are trying to install a React project and you encounter an error that says "react-scripts not found" when running the npm install command, it could be due to a few reasons. Here are some possible solutions:
      Check your package.json file: Make sure that react-scripts is listed as a dependency in your package.json file. If it is not listed, add it to the file as a dependency.
      Delete node_modules folder and package-lock.json file: Sometimes, the installation can be corrupted or incomplete, and this can cause issues with the installation of packages. You can try deleting the node_modules folder and package-lock.json file and then running npm install again.
      Use the correct version of Node.js: Make sure that you are using the correct version of Node.js that is compatible with the version of react-scripts you are trying to install. You can check the compatibility requirements in the react-scripts documentation.
      Update your npm version: You may also need to update your npm version to the latest version by running npm install -g npm.
      Try clearing the npm cache: You can try clearing the npm cache by running npm cache clean --force and then running npm install again.

  • @recelectronicssa9858
    @recelectronicssa9858 Před 2 lety

    great

  • @deepanvijayasarathi6746

    This commend doesn't not run Properly

  • @zrwaljawad3175
    @zrwaljawad3175 Před 2 lety

    ❤️❤️

  • @blueeye1879
    @blueeye1879 Před 2 lety

    So Nice

  • @jeanbarearmament6440
    @jeanbarearmament6440 Před 2 lety

    Cool

  • @JahidHasan-wv9ql
    @JahidHasan-wv9ql Před 2 lety

    cool stuff

  • @tutti9745
    @tutti9745 Před rokem

    Hi!
    By running "npm run typeorm migration:run"
    I get the output: "Missing required argument: dataSource"
    Am I doing something wrong and not recognising it?
    I repeated the steps before to change the passwort to the right one and still can't solve the issue. Will be very happy if you could help me! Btw, great job! :)

    • @ROOMYAN
      @ROOMYAN  Před rokem

      I am not familiar with this error Could you please look online for the solution?

    • @Grow.withusai
      @Grow.withusai Před rokem

      @tutti9745 did you find the sol to this error.. even I am facing same error

  • @JahidHasan-jk4cp
    @JahidHasan-jk4cp Před 2 lety

    very nice

  • @akshaykumarhunur5290
    @akshaykumarhunur5290 Před rokem

    dear sir its a very thankful video and project
    i am getting the error while login that is server error

    • @ROOMYAN
      @ROOMYAN  Před rokem

      what is the error actually? is it json rpc error?

    • @akshaykumarhunur5290
      @akshaykumarhunur5290 Před rokem

      @@ROOMYAN yes sir its json rpc error, also in backend sectoin the nodemon crasher error occurs

    • @ROOMYAN
      @ROOMYAN  Před rokem

      @@akshaykumarhunur5290 if you are using windows os please check video description i have given solution there

  • @abdshot9416
    @abdshot9416 Před 2 lety

    رائع

  • @jfjzjajawjsjsksk460
    @jfjzjajawjsjsksk460 Před 2 lety

    W

  • @JahidHasan-qr6lq
    @JahidHasan-qr6lq Před 2 lety

    i like

  • @smjeev2390
    @smjeev2390 Před rokem +1

    error got PS C:\Users\SS_DELL\Desktop\evoting\test\Blockchain-Based-Voting-System\backend> npm run typorem migration:run
    npm ERR! Missing script: "typorem"
    npm ERR!
    npm ERR! Did you mean this?
    npm ERR! npm run typeorm # run the "typeorm" package script
    npm ERR!
    npm ERR! To see a list of scripts, run:
    npm ERR! npm run
    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\SS_DELL\AppData\Local
    pm-cache\_logs\2023-02-28T15_21_17_582Z-debug-0.log

    • @ROOMYAN
      @ROOMYAN  Před rokem

      seems like you are using windows. I don't know about the windows since i built it in ubuntu

  • @swethas3569
    @swethas3569 Před 6 měsíci

    Can i get source code

  • @pierrecarolina8142
    @pierrecarolina8142 Před 2 lety

    wow liked

  • @user-ns4so7ty3b
    @user-ns4so7ty3b Před 2 lety

    nice

  • @JahidHasan-nv4kb
    @JahidHasan-nv4kb Před 2 lety

    hmm ok I liked it

  • @JahidHasan-gr3de
    @JahidHasan-gr3de Před 2 lety

    great stuff

    • @adanali468
      @adanali468 Před rokem

      1.did you create user details before recording
      2.do you always create users before running

    • @ailachanakyadarahas6156
      @ailachanakyadarahas6156 Před rokem

      Sir/madam , Did u executed the project?

  • @kljlkjlasfklsjdfk5923
    @kljlkjlasfklsjdfk5923 Před 2 lety

    Enjoyed on 2022-07-14 08:30:24

  • @JahidHasan-nv4kb
    @JahidHasan-nv4kb Před 2 lety

    very good

  • @konadasagar2737
    @konadasagar2737 Před rokem

    Please help me with this.. Getting error while running npm run typeorm migration:run
    Error during migration run:
    Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'bbvs'@'localhost' (using password: YES)

    • @ROOMYAN
      @ROOMYAN  Před rokem

      thats error related to mysql. Either password for user bbvs is incorrect or you have grant all privileges. Repeat that step again configuring mysql

    • @konadasagar2737
      @konadasagar2737 Před rokem

      Thank You for the response .. 😊

    • @rkraj3339
      @rkraj3339 Před rokem

      @@ROOMYAN I also have this issue . how to overcome it

    • @ROOMYAN
      @ROOMYAN  Před rokem

      @@rkraj3339 repeat the mysql setup process issue is from that

  • @irzaneabdessamad388
    @irzaneabdessamad388 Před 2 lety

    nuce

  • @nick4bizz42
    @nick4bizz42 Před rokem

    Can setup this on cPanel, esp ganache software?

    • @ROOMYAN
      @ROOMYAN  Před rokem

      i guess i have explained and showed everything needed

  • @JahidHasan-nv4kb
    @JahidHasan-nv4kb Před 2 lety

    nice bro

  • @santanujha9705
    @santanujha9705 Před rokem

    Thank you for the video, but I am not able to login as john it's showing server error how can I fix it.

    • @ROOMYAN
      @ROOMYAN  Před rokem

      What kind of server error ,would you tell me the full error?

    • @rkraj3339
      @rkraj3339 Před rokem

      Net : err refused to connect

  • @resumesurajsingh20
    @resumesurajsingh20 Před 6 měsíci

    Have you hosted it anywhere

  • @jaganraj5708
    @jaganraj5708 Před rokem

    I got network error on time of login and invalid json RPC response: "" error in backend then [nodemon] app crashed
    What we have to do please help sir

    • @ROOMYAN
      @ROOMYAN  Před rokem

      are you running on windows?

    • @jaganraj5708
      @jaganraj5708 Před rokem

      ​@@ROOMYAN yes

    • @ROOMYAN
      @ROOMYAN  Před rokem +1

      @@jaganraj5708 lots of people are facing similar error on windows,i don't know how to solve it. Would you please try on linux or you can try solve error googling.

    • @jaganraj5708
      @jaganraj5708 Před rokem

      ​@@ROOMYAN It works well in Linux

    • @ROOMYAN
      @ROOMYAN  Před rokem

      @@ThatIsEasy-k6o invalid json rpc response error has been solved check description or pinned comment

  • @hieuvo1772
    @hieuvo1772 Před 2 lety

    good

  • @sharose3694
    @sharose3694 Před 2 lety +1

    great job

    • @ailachanakyadarahas6156
      @ailachanakyadarahas6156 Před rokem

      Did u executed that project?

    • @ROOMYAN
      @ROOMYAN  Před rokem

      if you are facing invalid json rpc error, check description or pinned comment. It has been solved

  • @JahidHasan-qr6lq
    @JahidHasan-qr6lq Před 2 lety

    liked

  • @carolinagutierrez7959
    @carolinagutierrez7959 Před 2 lety

    🥰🥰

  • @Avijit.Official.85
    @Avijit.Official.85 Před 2 lety

    Good video

  • @RAJ-wp8vq
    @RAJ-wp8vq Před 10 měsíci

    admin password doesn't match

    • @ROOMYAN
      @ROOMYAN  Před 10 měsíci

      email: john@gmail.com
      password: john@gmail.com

  • @thakurpusarla1162
    @thakurpusarla1162 Před rokem

    in frontend npm isn't installing..

    • @ROOMYAN
      @ROOMYAN  Před rokem

      do you have node installed?

    • @thakurpusarla1162
      @thakurpusarla1162 Před rokem

      @@ROOMYAN yeah

    • @ROOMYAN
      @ROOMYAN  Před rokem

      @@thakurpusarla1162 if node is installed there shouldn't be npm installing problem

    • @newHorizons9786-n3x
      @newHorizons9786-n3x Před rokem

      just delete the node module folder manually and run the command again

  • @nguyentrung6686
    @nguyentrung6686 Před rokem

    when i login admin rights show "network error"

    • @ROOMYAN
      @ROOMYAN  Před rokem

      did you message me on facebook?

    • @nguyentrung6686
      @nguyentrung6686 Před rokem

      @@ROOMYAN Yes, it's me. I don't understand why it fails. i think i will reload the source code to rebuild

    • @ROOMYAN
      @ROOMYAN  Před rokem

      invalid json rpc response error has been solved check description or pinned comment

  • @adeenalathiya2853
    @adeenalathiya2853 Před 8 měsíci

    Can we change the password of the admin?

  • @alikhan.alikhan
    @alikhan.alikhan Před rokem

    hi

  • @RushiShah2007
    @RushiShah2007 Před 2 lety

    Roomyan!
    you remember me?
    "KUSHSHAH" Clash Royale boy
    you had once tried to ban me but you failed
    LOL
    I would like if you reply me

  • @nick4bizz42
    @nick4bizz42 Před rokem

    hi, did you use solidity for this?

    • @ROOMYAN
      @ROOMYAN  Před rokem

      ya solidity is for smart contract

  • @ladyfingerhunza9498
    @ladyfingerhunza9498 Před 2 lety

    🙂

  • @rakshithsudan3174
    @rakshithsudan3174 Před rokem

    Bro how to create new admin? like john

    • @ROOMYAN
      @ROOMYAN  Před rokem

      i haven't made any functionality to add admin.I hardcoded john as admin. You can either hardcode other users as admin or add that functionality

    • @rakshithsudan3174
      @rakshithsudan3174 Před rokem

      @@ROOMYAN In which file to hardcode a new user?

    • @ROOMYAN
      @ROOMYAN  Před rokem

      @@rakshithsudan3174 inside seed users.ts

  • @ibrahimmano3529
    @ibrahimmano3529 Před 2 lety

    If

  • @JahidHasan-gi8gh
    @JahidHasan-gi8gh Před 2 lety

    sup bro

  • @As-ps2tt
    @As-ps2tt Před rokem

    Hello, I keep getting "network error" whenever I try to log in. the error indicates that Invalid JSON RPC response: ""

    • @ROOMYAN
      @ROOMYAN  Před rokem

      are you running it on windows?

    • @As-ps2tt
      @As-ps2tt Před rokem

      @@ROOMYAN no I am running it on mac

    • @ROOMYAN
      @ROOMYAN  Před rokem

      @@As-ps2tt can you try on linux ? I don't know why there is problem with other os

    • @ROOMYAN
      @ROOMYAN  Před rokem

      @Dev Lad what is the problem you can ping me on instagram check the link in the description

    • @As-ps2tt
      @As-ps2tt Před rokem

      @@ROOMYAN I've tried to take web3 and blockchain configurations out, and it worked perfectly. The problem with not being able to authiticate users seems to rely on it. Try debugging it. Best of luck !

  • @bonusimply5951
    @bonusimply5951 Před 2 lety

    omg

  • @mohmilano7408
    @mohmilano7408 Před 2 lety

    Dz

  • @deepanvijayasarathi6746

    I have same problem

  • @nerdswayne4496
    @nerdswayne4496 Před 2 lety

    ..

  • @samusaran5464
    @samusaran5464 Před 2 lety

    ojkmo

  • @deepanvijayasarathi6746

    Run typeorm migration: run

  • @ritukanwar9331
    @ritukanwar9331 Před rokem

    😂😂😂

  • @joee8005
    @joee8005 Před rokem

    Can i ask? where did u get the access token? and how did make that token? @ROOMYAN

  • @pathyal489
    @pathyal489 Před 2 lety

    𝐩яⓞ𝓂𝓞Ş𝐦 😢

  • @SandeepSingh-de3xc
    @SandeepSingh-de3xc Před rokem +2

    Bro ur contact info pls my backend server node is getting crashed everytym

  • @deepanvijayasarathi6746

    Sir i message in Instagram pls check and reply

    • @ROOMYAN
      @ROOMYAN  Před rokem +1

      sure

    • @joee8005
      @joee8005 Před rokem

      @@ROOMYAN Can i ask? where did u get the access token, refresh ? and how did make that token? how to use that jsonwebtoken? answer pls, thx

    • @joee8005
      @joee8005 Před rokem

      @@ROOMYAN can u reply? i want to learn make the token too

  • @catalinaruiz1110
    @catalinaruiz1110 Před 2 lety

    nicee

  • @daydaynocraig
    @daydaynocraig Před 2 lety

    great one

  • @jahidhasan1575
    @jahidhasan1575 Před 2 lety

    super great

  • @JahidHasan-jk4cp
    @JahidHasan-jk4cp Před 2 lety

    great

  • @jfjzjajawjsjsksk460
    @jfjzjajawjsjsksk460 Před 2 lety

    W

  • @elephantthepink3824
    @elephantthepink3824 Před 2 lety

    nice