If you want to learn how to develop an application based on Rum, this is a very good example.
All the functional implementations refer to the ActivityPub format recommended by Quorum official.
This example is simple, but its application scenario is very common, so it's worth looking at.
If you want to run it on your own computer, follow these steps:
git clone https://github.com/okdaodine/rum-demo.git
- Open Quorum open node
- Log in with Github
- Create a group
- Open the group
- Copy the seed
- Fill in the
seedUrl
inserver/config.js
.
Done! let's start using this Rum Group.
(This example is developed in JavaScript, so please install nodejs first)
In the root directory, run:
yarn install
yarn dev
Open another terminal window and execute:
cd server
yarn install
yarn dev
Through this example, you can know:
- How to implement post?
- How to implement comment?
- How to implement like?
- How to implement profile?
If you want to implement more features, such as:
- How to include pictures in post?
- How to modify avatar in profile?
- How to implement secondary comments?
- How to implement message notifications between users (who commented on who, who liked who)?
You can refer to the product rum-feed, which is also open source, and you can learn from its features and source code.