Skip to content

User Rating P2P App Using Edgeware Substrate Node, PolkadotJS, ReactJS

Notifications You must be signed in to change notification settings

evanigwilo/user-rating

Repository files navigation

PolkadotJS / Edgeware Node User Rating App

TypeScript

A user rating application using the PolkadotJS API and the Edgeware Substrate Node.

Users can rate rate another user only once and cannot change rating and also see ratings of other users.

This is a technical Assessment project. This solution uses Node.js runtime, React.js for the UI, with Styled Components for styling, Polkadot-JS API easy-to-use wrappers around JSONRPC calls that flow from an application to a node.

Dev accounts

Alice;
Bob;
Charlie;
Dave;
Eve;
Ferdie;

Requirements

Before getting started, make sure you have the following requirements:

Run The Project

Follow these steps to get your development environment set up:

  1. Clone this repository locally;
# Change to the desired directory
$ cd <desired-directory>

# Clone the repo
$ git clone https://github.com/evanigwilo/user-rating.git

# Change to the project directory
$ cd user-rating
  1. Start a substrate node in development mode
$ docker-compose up -d
  1. Install dependencies
yarn install
  1. Run app
yarn start
  1. The web-app will be running at http://localhost:3000

Useful commands

# Stops containers and removes containers, networks and volumes
$ docker-compose down -v

References

Polkadot JS Docs

Substrate: The Blockchain Framework for a Multichain Future

Edgeware: A DAO-first smart contract platform for managing, funding, and building decentralized communities

About

User Rating P2P App Using Edgeware Substrate Node, PolkadotJS, ReactJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published