Skip to content

gcblockchain-chainedeblocsgc/grain-of-salt

 
 

Repository files navigation

Grain of Salt

This project is an attempt to combat the spread of fake news articles on social networks and encouraging people to take information with a grain of salt. The project is a clone of Reddit and uses the Reddit API to fetch post data. Scores are assigned to each post based on the credibility of the user. This score is then updated by a smart contract which also receives any new posts made by the user.The scores are used to generate a coloured border around each post ranging from green to read (trustworthy to untrustworthy.)

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • Clone this repository
    • git clone git@github.com:BlockchainNL/grain-of-salt.git or
    • git clone https://github.com/BlockchainNL/grain-of-salt.git
  • cd grain-of-salt
  • npm install

Running / Development

  • ganache-cli
  • Open a new terminal and in the project root run truffle compile && truffle migrate --reset
  • ember serve
  • Visit your app at http://localhost:4200.

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

About

Trace origin of news articles and the reliability of their sources.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.8%
  • HTML 13.0%
  • CSS 10.2%