Skip to content

Off-chain storage for Subsocial blockchain. This app builds user feeds and notifications by subscribing to Substrate events.

License

Notifications You must be signed in to change notification settings

samchuk-vlad/dappforce-subsocial-offchain

 
 

Repository files navigation

Subsocial Faucet by DappForce

Subsocial is a set of Substrate pallets with web UI that allows anyone to launch their own decentralized censorship-resistant social network aka community. Every community can be a separate Substrate chain and connect with other communities via a Polkadot-based relay chain.

You can think of this as decentralized versions of Reddit, Stack Exchange or Medium, where subreddits or communities of Stack Exchange or blogs on Medium run on their own chain. At the same time, users of these decentralized communities should be able to share their reputation or transfer coins and other values from one community to another via Polkadot relay chain.

To learn more about Subsocial, please visit Subsocial Network.

Supported by Web3 Foundation

Web3 Foundation grants badge

Subsocial is a recipient of the technical grant from Web3 Foundation. We have successfully delivered all three milestones described in Subsocial's grant application. Official announcement.

Setup

# Install Node.js dependencies
yarn

# Compile TypeScript
yarn build

# Run
yarn start

Available scripts

  • clean - remove coverage data, Jest cache and transpiled files,
  • build - transpile TypeScript to ES6,
  • start - run subscribe and express-api servers,
  • api - run only express-api server,
  • subscribe - run only subscribe server

Building from Docker

Easiest start

To start Subsocial offchain storage separately (you should have docker-compose):

cd docker/
./compose.sh

It will start 3 containers: postgres, elasticsearch and offchain itself.

Start all parts of Subsocial at once with Subsocial Starter

License

Subsocial is GPL 3.0 licensed.

About

Off-chain storage for Subsocial blockchain. This app builds user feeds and notifications by subscribing to Substrate events.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.2%
  • Shell 3.7%
  • Other 1.1%