Blockchain Based Voting System | Demo
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
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/
can you please make the changes in the code as well?
Sir please can you changes in code we are waiting for this project
Hi sir, Can you please tell me the password, after that sudo mysql?which is in 3:02
I am getting error while runing frontend npm install .help me with this brooo
What version of Node js, truffle & mysql were you using at that time of this project?
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
Have you been able to fix this issue?
I'm also getting same error
Help me ttooo please if you resolved it😢😢
alg se kuch hardware nhi na use huaa h is project ko run krne k liye ??
nop
Do u remember me bro??
Btw after a very long time...
Still remember the days you streamed cr videos ❤️❤️
ya i remember
Sir/madam , Did u executed the project?
how to rectify the access denied in mysql.i gave all things what you mentioned in description box
Love you! - Powered By Dimension Bots
sir its giving network error
its giving an network error please solve
It is giving me server error when i try to login with the given email id and password . Someone plzz help asap
estou enfrentando o mesmo erro
Thank you soo much 💯🤗
in login page for john what password need to be put
how to we verify user?
edit: ok got it, sorry for dumb question. thanks a lot mate, it really helped.
Hello bro --- You doing Same Project please reply
--- I am also doing Same Project in My College --- please reply
Hi sir, Can you please tell me the password, after that sudo mysql?which is in 3:02
Show no migration pending
Can we able to change admin?
i have error during migration run. It is Error: connect ECONNREFUSED ::1:3306 and eerno:-61 what is it. How can I solve it?
replace "host": "localhost" with "host": "127.0.0.1" on ormconfig.json
You are awesome!
Sir/madam , Did u executed the project?
super great
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
Have you done the experiment
Thank you so much !
Sir/madam , did u executed that project?
@@ailachanakyadarahas6156 yes
@@aomo5293 i need your help can i have your instagram or something!
@@aminabcf5749 how can I contact y?
@@aomo5293 what do u use as social media
respect
i am syuck on database part 'sudo my sql ' please help sir
have you installed mysql database? Btw i used linux os in the videos. So commands may be different for other os
For windows that command not works type this command
mysql -u root -p
Before running this command mysql must be installed
Nice
Sir/madam , Did u executed the project?
Que legal massa cara
okeee brooo
Yo man nice
cant perform npm install in frontend it throws error, when i run npm start its throw react scripts not found
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.
great
This commend doesn't not run Properly
❤️❤️
So Nice
Cool
cool stuff
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! :)
I am not familiar with this error Could you please look online for the solution?
@tutti9745 did you find the sol to this error.. even I am facing same error
very nice
dear sir its a very thankful video and project
i am getting the error while login that is server error
what is the error actually? is it json rpc error?
@@ROOMYAN yes sir its json rpc error, also in backend sectoin the nodemon crasher error occurs
@@akshaykumarhunur5290 if you are using windows os please check video description i have given solution there
رائع
Sir/madam , Did u executed the project?
W
i like
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
seems like you are using windows. I don't know about the windows since i built it in ubuntu
Can i get source code
wow liked
nice
hmm ok I liked it
great stuff
1.did you create user details before recording
2.do you always create users before running
Sir/madam , Did u executed the project?
Enjoyed on 2022-07-14 08:30:24
very good
Sir/madam , Did u executed the project?
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)
thats error related to mysql. Either password for user bbvs is incorrect or you have grant all privileges. Repeat that step again configuring mysql
Thank You for the response .. 😊
@@ROOMYAN I also have this issue . how to overcome it
@@rkraj3339 repeat the mysql setup process issue is from that
nuce
Can setup this on cPanel, esp ganache software?
i guess i have explained and showed everything needed
nice bro
Thank you for the video, but I am not able to login as john it's showing server error how can I fix it.
What kind of server error ,would you tell me the full error?
Net : err refused to connect
Have you hosted it anywhere
nop
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
are you running on windows?
@@ROOMYAN yes
@@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.
@@ROOMYAN It works well in Linux
@@ThatIsEasy-k6o invalid json rpc response error has been solved check description or pinned comment
good
great job
Did u executed that project?
if you are facing invalid json rpc error, check description or pinned comment. It has been solved
liked
🥰🥰
Good video
Sir/madam , Did u executed the project?
admin password doesn't match
email: john@gmail.com
password: john@gmail.com
in frontend npm isn't installing..
do you have node installed?
@@ROOMYAN yeah
@@thakurpusarla1162 if node is installed there shouldn't be npm installing problem
just delete the node module folder manually and run the command again
when i login admin rights show "network error"
did you message me on facebook?
@@ROOMYAN Yes, it's me. I don't understand why it fails. i think i will reload the source code to rebuild
invalid json rpc response error has been solved check description or pinned comment
Can we change the password of the admin?
yes you can
@@ROOMYANhow
hi
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
lol
hi, did you use solidity for this?
ya solidity is for smart contract
🙂
Bro how to create new admin? like john
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
@@ROOMYAN In which file to hardcode a new user?
@@rakshithsudan3174 inside seed users.ts
If
sup bro
Hello, I keep getting "network error" whenever I try to log in. the error indicates that Invalid JSON RPC response: ""
are you running it on windows?
@@ROOMYAN no I am running it on mac
@@As-ps2tt can you try on linux ? I don't know why there is problem with other os
@Dev Lad what is the problem you can ping me on instagram check the link in the description
@@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 !
omg
Dz
I have same problem
what kind of problem
@@ROOMYAN sir app crash
@@ROOMYAN connection error couldn't connect local host 7545
@@deepanvijayasarathi6746 setting your ganache to 7545 maybe?
..
ojkmo
Run typeorm migration: run
😂😂😂
Can i ask? where did u get the access token? and how did make that token? @ROOMYAN
run typeorm migration:run this commend doesn't run properly
Show no migration is pending
@@deepanvijayasarathi6746 how to make that token? Or where did we can get the token?
𝐩яⓞ𝓂𝓞Ş𝐦 😢
Bro ur contact info pls my backend server node is getting crashed everytym
check the description
@SandeepSingh do you got any solution for that?
Showing "network error" for me
@@aneeshsatla1877 same problem . Did u got solution bro . Plz respond
@@ailachanakyadarahas6156 we have to type the quires in database again
Yes guyzz i got it
Sir i message in Instagram pls check and reply
sure
@@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
@@ROOMYAN can u reply? i want to learn make the token too
nicee
great one
Sir/madam , Did u executed the project?
super great
Sir/madam , Did u executed the project?
great
W
nice
Sir/madam , Did u executed the project?