A web-app to locate nearby garbage cans and add new garbage cans. The app also includes a leaderboard to encourage user to be regular, not litter and as an incentive to add garbage cans. To run the code
- In the config/config.env file, add your MongoDb uri, Geocoder api key,
- In public/js/map.js, add you mapbox access token in the variable mapboxgl.accessToken
- open terminal
- run npm start dev
- open http://localhost:5000/(haven't hosted yet) to see the website function