Source code: https://github.com/romanshilpakar/Blockchain-Based-Voting-System

    You must have pre installed:
    1. Node js
    https://nodejs.org/en/
    2. Truffle
    https://trufflesuite.com/docs/truffle/quickstart/
    3. MySQL
    https://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: https://www.instagram.com/romanshilpakar
    TWITTER: https://twitter.com/RomanShilpakar8
    FACEBOOK: https://www.facebook.com/iamroomyan
    YOUTUBE: https://www.youtube.com/roomyanislive

    43 Comments

    1. error got PS C:UsersSS_DELLDesktopevotingtestBlockchain-Based-Voting-Systembackend> 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:UsersSS_DELLAppDataLocalnpm-cache_logs2023-02-28T15_21_17_582Z-debug-0.log

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

    3. 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

    Leave A Reply
    Share via