/findmybin

Primary LanguageJavaScriptMIT LicenseMIT

Find my nearest recycling bin

...and other features (currently supports e-waste and 2nd hand collection points)

Disclaimer: This repo contains a lot of bad software engineering decisions and practices


I learn webpack.
Also an excuse to play with deck.gl


Background

This project spawned from our team's annual Hackthon, where we decided to create a tool that allows users to find their nearest recycling bin in Singapore.

Datasets

Get your datasets from data.gov.sg

Use togeojson to convert the above datasets to geojson.

Todo

Webpack

[x] basic webpack config
[x] dev server + hot reloading
[] webpack config for prod

Deck.gl

  • read all bins from geojson and dump on map as is
  • heatmap?
  • calculate distance
  • click data point to pan + show info about data point
  • hack together something to show route on map to selected data point

Refactor

  • Add redux - mostly cleaned up now
  • Lint - prettier used
  • Produce a better system for classification