Skip to content

DeCarbonUs is an App-based solution to help fight climate change by facilitating individuals to reduce and control their carbon footprint. Focused towards solving United nations SDGs

License

Notifications You must be signed in to change notification settings

Rohit-RA-2020/Solution-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeCarbonUs


Get it on Google Play

A Google DSC Solution Challenge submission

DeCarbonUs is an App-based solution to help fight climate change by facilitating individuals to reduce and control their carbon footprint. With our app, the user can easily monitor and analyze how their daily activities contribute to carbon emissions and how they can take measures to slowly reduce such contributing factors by taking simple steps

Video Submission

You can checkout our video submission demo on youtube by clicking on the thumbnail below.

This Project has been made targeting these UN Sustainable Goals

Project Info

The contents in this repo follow the following structure, divided into two directories i.e one for app and one for api

├───carbon (REST API)
|   |───index.js
|   |───package-lock.json
|   |───package.json
|
├───decarbonus (FLUTTER APP)
   |-lib
     ├───screens
     ├───models
     ├───providers
     ├───resources
     ├───responsive
     ├───utils
     └───widgets
     ├───constant.dart
     ├───main.dart
     └───store.dart
     

Description

  • Our solution mainly consists of a Flutter based mobile app. We wanted our solution to reach the masses, that's why we picked flutter as our framework of choice because of its cross-platform capabilities.

  • For the backend, we mostly relied on Firebase, for authentication and cloud storage

  • We have used our own REST API for calucalting the carbon footprint based upon user's data which is deployed on Google Cloud Platform.

  • For storing the different types of data including user data like responses, results, posts, followers, bio, list of posts etc we have used Firestore database

  • For verifying tht user with email & password as well as creating the use we have utilized the authentication feature of Firebase.

  • To show realtime location and events near the user's location we are using Google Maps API from GCP.

  • After the user has selected his reponses and he/she submits it, all the responses are collected and send to our REST API deployed on GCP, which in returns sends a average carbon foorprint emmsion value and it is stored in Firestore database

  • All the posts that the user makes through the naturegram feature in our app is stored in Firebase Storage

  • All the recent blogs shown in the app are also served thorugh the API Deployed on GCP.

Setup

Clone the repository

git clone https://github.com/Rohit-RA-2020/Solution-Challenge

For start the API

cd \carbon
node i install
node index.js

To run the app

cd \decarbonus
flutter pub get
flutter run

Please Note

Goto android -> app -> src -> main -> AndroidManifest.xml

Replace The 'API_KEY_HERE' with your google maps api key to make sure G-Maps work properly.

Made with ♥ by

About

DeCarbonUs is an App-based solution to help fight climate change by facilitating individuals to reduce and control their carbon footprint. Focused towards solving United nations SDGs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages