loading...
Cover image for Mapping Contributions

Mapping Contributions

michaelsolati profile image Michael Solati ・1 min read

What I built

I wanted to build an application to collect contributions from around the world and show where the most collections had come from. The application doesn't currently surface the location of contributions well, but does display them as markers on the map.

One catch is you can see where contributions are made if you don't contribute, but you can only see how much if you do contribute!

All money collected till the end of the July 2020 would then go to Black Girls Code (as recommended by @cyberdees here).

Submission Category:

Exciting Experiments

Demo

Demo

Link to Code

Gftwhackathon

This project was generated with Angular CLI version 9.1.6.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.




How I built it

I used Angular and Firebase to build the application and host it and the database. I also use two libraries I maintain, geokit and geofirestore, to make a lot of the geo related aspects of the app easier. I'd say the biggest issue was trying to get the web monetization polyfill to work, so I opted not to use it and throw an error when a monetization wasn't available.

Posted on Jun 16 '17 by:

michaelsolati profile

Michael Solati

@michaelsolati

Developer πŸ₯‘ for Google with a love for Java (think Android), Java (think Starbucks), and JavaScript.

Discussion

markdown guide