TechTriumph 1.0 - 18hrs Hackathon This is a Chat App Project which is Based on BlockChain Technique.
- At first the backend server sends the first hash value to the connected clients
- Then client sends the previous hash value along with the message data to the backend server
- Then the backend server will check if the hash value being sent matches with the last Hash present in the server's array.
- Upon successfully verifying the hash, it will then broadcast the message and the new hash value to all other connected clients.
First Git clone this Repo
Backend Server
- change directory to
cd block_chat_server
- Install all the required packages by
python -m pip install -r requirements.txt
- Start the Backend Server with the command
python server.py
and the Websocket Server will be started
Frontend NextJS
- change directory to
cd block_chat_web
- Install the Packages by running
npm i
- Build the Frontend with
npm run build
- Run the Frontend with
npm start
Frontend