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.)
You will need the following things properly installed on your computer.
- Git
- Node.js (with NPM)
- Ember CLI
- Google Chrome
- Ganache
- Clone this repository
git clone git@github.com:BlockchainNL/grain-of-salt.git
orgit clone https://github.com/BlockchainNL/grain-of-salt.git
cd grain-of-salt
npm install
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.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.