Uploaded February 2021 | Updated September 2026, 1 hour ago
In this video I will build a real-time & offline-first P2P messaging application using Gun.js & React.
The app that we will be building is a messaging app. We will be building both the server (Express) as well as the client (React).
Code:
github.com/dabit3/react-p2p-messaging
Blog post:
https://dabit3.hashnode.dev/how-to-build-a-decentralized-peer-to-peer-network-in-javascript-ckkwl6jnk00ysxps10o94gyzg
0:00 - Introduction
1:39 - Project setup
2:29 - Creating the server
3:20 - Creating the React app
4:00 - Writing the client-side code
10:55 - Running the app
14:14 - Conclusion
In this video I will build a real-time & offline-first P2P messaging application using Gun.js & React.
The app that we will be building is a messaging app. We will be building both the server (Express) as well as the client (React).
Code:
github.com/dabit3/react-p2p-messaging
Blog post:
https://dabit3.hashnode.dev/how-to-build-a-decentralized-peer-to-peer-network-in-javascript-ckkwl6jnk00ysxps10o94gyzg
0:00 - Introduction
1:39 - Project setup
2:29 - Creating the server
3:20 - Creating the React app
4:00 - Writing the client-side code
10:55 - Running the app
14:14 - Conclusion










