Skip to content

KimPaige/Fake-News

Repository files navigation

Purpose

This code was the outcome of a weekend long coding competition, Create Camp, which is run by Summer of Tech. We were given the challenge of creating a web application that used at least one API or data source, and given only 16 hours, split across two days, to complete it. We came up with our idea early on in the first day and then spent the rest of our time developing the code found in this repository.

Award

Our team is very proud to say that we won the overall award at Create Camp 2018, Technology.

Introduction

Millennials do not have the time or inclination to read traditional news articles. But what if they could engage with the news quickly and effortlessly on a fun platform that fits straight into their everyday lives? Enter...

Fake News

Fake News curates the latest and most outrageous comments posted on Stuff.co.nz news articles, and uses machine learning technology to understand the tone of what commenters are saying. Using this knowledge, Fake News summarises the current state of the nation, and effectively communicates this via fun phrases and colour-coordination every time the user opens a new tab. Once the user's attention is captured, they are free to browse the most significant comment of the day from each emotion; joy, sadness, fear, anger and disgust.

How to get started

Prerequisites

  • Fake News utilises IBM Cloud's Watson API for machine learning. Head to IBM Cloud Services to make a free account. Create an instance of their Tone Analyzer service running on their 'United States South' server.
  • Your system will need Node Package Manager installed .

Running Fake News on your local machine

  • Clone this repository onto your local machine.
  • In the top level directory create the text file titled ".username" which contains your username for the Tone Analyzer service you just created.
  • In the top level directory create the text file titled ".password" which contains your password for the Tone Analyzer service you just created.
  • Open a terminal window to the "backend" directory.
  • Run npm install.
  • Run npm start.
  • Open your browser to http://localhost:5000/ and enjoy!

Command Line Install Animation

Thanks

This project is the result of 16 hours work by four student developers and one designer at the 2018 Summer of Tech Create Camp. We would like to give thanks to all involved, without your generous investments of time and mentorship this project would not have been possible. Special thanks to Flux Federation for hosting the weekend-long event and to our awesome mentor, Michael from Xero!

Screenshots

Landing page with overall state of the nation (joy)

Most sad comment

Most disgusted comment

Most fearful comment

Most angry comment

Most joyful comment

About

Create Camp 2018 Hackathon Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published