This is a decentralized messaging application similar to discord/slack. The backend uses a custom built blockchain to share and sync mesaages across the network
- docker pull atharvavyas/decentralized-discord-node-server
- docker run -t -d -p 1000(or any other free port):3003 --name nodeServer atharvavyas/decentralized-discord-node-server
- docker ps -a
- docker start {container_id}
- docker exec -it nodeServer bash
- cd home
- nano serverInit.json
- replace the myUrl variable with the address/url of your server/node
- if you are are planning to add additional nodes(which you should), then add their url's/address's in the initialNodes array
- also replace the serverName with a name of your preference
- close, and save the file
- npx nodemon
and you should be able to see a json with your servername, and various other info (i know its a bit cumbersome for now)
- open backend/middleware/serverInfo.json
- replace the initialNodes array contents, with the url/s of the server/node you want to connect to.
- go to /backend/middleware/ and run index.js
- go to /frontend/ and run npm start, and try logging in
- the first user to login, will automatically become the admin, and for now you can only have one admin. also only a admin can add new channels
- this is a barebones proof-of-concept testbed, ontop of which you can keep on adding additional features
- this does not use matrix. It uses a custom blockchain architecture to sync and share data
- this was made in around a week, so expect some bugs & performance issues