/medium_clone_on_ethereum

An ethereum dapp inspired by medium

Primary LanguageJavaScript

Decentralized Medium

This repository contains my final project for ConsenSys's 2018 developer academy. The application gives users the ability to consume, create, and support crowd-sourced articles, mimicking the functionality of Medium.

requirements

  1. node 8.9.x
  2. truffle 4.1.x

Installation

  1. clone repository & cd into it git clone https://github.com/RyanRHall/medium_clone_on_ethereum.git && cd medium_clone_on_ethereum
  2. install dependencies npm install
  3. start geth or ganache on localhost, port 8545
  4. migrate contracts truffle migrate
  5. seed data truffle exec scripts/seed.js
  6. start application server npm run start
  7. visit localhost:3000 to browse and play :)

* you will need to login with uPort to enable some functionality

Tests

  1. truffle test

Links

Test Explanations

Avoiding Common Attacks

Design Pattern Decisions