Upcycle YYC

Project Description

In the past 50 years, Calgarians have thrown out 40 MILLION tonnes of trash -- that's equivalent to 4,000 Calgary Towers! As one of Canada’s fastest growing cities, the cost of operating and maintaining landfills have skyrocketed and is estimated to cost $1.25 Billion over the next 25 years, and finding new landfills sites is nearly impossible. Landfills also contain valuable resources that could’ve been recycled, reused or composted. Since the launch of the Green Bin program, It is estimated that this program will divert 85 million KG per year from landfills – this is one of the ways City councilors plan to reach their goal to divert 70% of waste from landfills by 2025. But how can we reach this goal sooner?

Our solution is to gamify waste management and create incentives for Calgarians. This will help the city reduce and divert waste from landfills, save tax payer money and educate Calgarians on proper waste disposal.

Upcycle is a fictitious application that has partnered with the City of Calgary to reward Calgarians who exemplify environmentally friendly practices. Users will earn rewards based upon a point system forEach item they have accurately disposed of.

A ranking system was created that populates on the Upcycle Leaderboard Page. This allows the user to view the top ranked users in the city and the top ranked wards in the city.

Getting Started

  1. Install dependencies bundle install from root folder and npm install from client folder.
  2. Run migrations rake db:migrate db:seed.
  3. Start the server rake start.
  4. Visit http://localhost:3002/.
  5. View Live: UpcycleYYC

Dependencies

React:

  • antd: 3.16.1
  • axios: 0.17.1
  • http-proxy-middleware: 0.19.1
  • i: 0.3.6
  • material-ui/core: 3.9.3
  • material-ui/icons: 3.0.2
  • npm: 6.9.0
  • prop-types: 15.7.2
  • react: 16.8.6
  • react-dom: 16.8.6
  • react-router: 5.0.0
  • react-router-dom: 5.0.0
  • react-scripts: 2.1.8

Ruby on Rails:

  • haml
  • pg: >= 0.18 < 2.0
  • puma: 3.11
  • rails: 5.2.2
  • ransack
  • ruby: 2.6.1

Final Product

"Home Login/Signup Page"

"Dashboard"

"User Leaderboard"

Collaborative Authoring (A-Z)

Arslan Ahmed

Connor Clarkes

Jatinder Chima

Paulyn Tran