Skip to content

lone tech wolf #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 92 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,103 @@
# Code-with-Google-Maps-2023 - Hack2skill
#### Team Name - Lone Tech Wolf
#### Problem Statement - “Individuals seeking to adopt a sustainable lifestyle often struggle due to the lack of a centralized platform for discovering eco-friendly resources and businesses. This, coupled with a general lack of awareness about sustainable choices, hinders their transition towards a greener lifestyle.”

Welcome to the official repository for the Code-with-Google-Maps-2023 organized by Hack2skill!
#### Team Leader Email - [email protected]

### A Brief of the Prototype:
The Sustainable Living Guide is a mobile application that uses Google Maps Platform to guide users towards a more sustainable lifestyle. It helps users discover sustainable businesses and resources in their city, such as recycling centers. It also has a community forum where people can talk about sustainability .It also has a feature named AI Support where user’s can discuss about sustainability with AI - the future of technology . The main goal of the app is to promote sustainability by increasing awareness about sustainable businesses and resources. By providing a platform for users to learn about sustainability and make more eco-friendly choices, the app contributes to environmental conservation and promotes a healthier lifestyle.

## Getting Started

To get started with the Code-with-Google-Maps-2023 repository, follow these steps:

### Tech Stack:
Programming Language: Dart

### Submission Instruction:
1. Fork this repository
2. Create a folder with your Team Name
3. Upload all the code and necessary files in the created folder
4. Upload a **README.md** file in your folder with the below mentioned informations.
5. Generate a Pull Request with your Team Name. (Example: submission-XYZ_team)
Framework: Flutter

### README.md must consist of the following information:
IDE: Visual Studio Code

#### Team Name -
#### Problem Statement -
#### Team Leader Email -
APIs and Libraries:

### A Brief of the Prototype:
This section must include UML Diagrams and prototype description
Google Maps API: Used to display maps and place markers on it.

### Tech Stack:
List Down all technologies used to Build the prototype

Google Places API: Used to find nearby recycling centers.

Geolocation API: Used to get the current location of the user.

NewsAPI: Used to fetch news articles related to sustainability and eco-friendliness.

OpenAI API: Used to interact with an AI model for chat support.

supabase API : To interact with the global database .


### Step-by-Step Code Execution Instructions:
This Section must contain a set of instructions required to clone and run the prototype so that it can be tested and deeply analyzed



1. **Clone the Repository**: Start by cloning the repository to your local machine. To do this, open your terminal or command prompt, navigate to the directory where you want to clone the repository and run:

```bash
git clone https://github.com/I-am-the-coder-Tusharbola/lone-tech-wolf.git
```


2. **Navigate to the Project Directory**: Once cloning is complete, navigate into the project directory:

```bash
cd sustainable-living-guide-app
```


3. **Get Flutter Packages**: The project depends on a set of Flutter packages defined in `pubspec.yaml`. To download these packages, run:

```bash
flutter pub get
```

4. **Check Flutter Setup**: Before running the app, ensure that your Flutter setup is complete and there are no issues. Run this command to check:

```bash
flutter doctor
```

This command checks your environment and displays a report to the terminal window.

5. **Run the App in Debug Mode**: Now you're ready to run the app in debug mode. Start a debug session by running:

```bash
flutter run
```

This command runs your application and attaches a debugger to it.

6. **Build the App**: If you want to build a release version of your app, use the `flutter build apk` command:

```bash
flutter build apk
```

This command generates an APK file in the `build/app/outputs/flutter-apk/` directory in your project.

note --> You also have to change all the API keys . The google Map SDK for andriod is given in the ```andriodmainfest.xml``` file and the geolocation and places api are added in the ```welcome_screen.dart``` file present in the ``` lib folder ```







### Future Scope:
Write about the scalability and futuristic aspects of the prototype developed
The Sustainable Living Guide app has a promising future scope given its focus on promoting sustainability and eco-friendly choices. Here are some potential scalability and futuristic aspects of the prototype:

Expansion to More Cities: The app currently helps users discover recycling centres in user's city city. In the future, it could be expanded to include more cities, even globally and also display all the sustainable businesses. This would make the app useful to a larger audience and promote sustainability on a larger scale.

Integration with Other Platforms: The app could be integrated with other platforms such as social media, e-commerce sites, and more. This would allow users to share their sustainable choices and inspire others to do the same.

Advanced AI Support: The AI Support feature could be enhanced to provide more personalized recommendations and tips based on the user’s lifestyle and preferences. It could also be trained to answer more complex questions about sustainability.

Gamification: To make the app more engaging, gamification elements could be introduced. For example, users could earn points for making sustainable choices, which could be redeemed for rewards.

Partnerships: The app could partner with sustainable businesses to offer discounts or special offers to users. This would encourage users to make more sustainable choices and support businesses that are doing their part for the environment.

Augmented Reality (AR) Features: In the future, AR technology could be incorporated into the app to provide users with an immersive experience. For example, users could see how a product is made or how much carbon footprint it has through AR.

35 changes: 35 additions & 0 deletions sustainable-living-guide-app/.flutter-plugins
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This is a generated file; do not edit or check into version control.
flutter_plugin_android_lifecycle=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\flutter_plugin_android_lifecycle-2.0.16\\
geolocator=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geolocator-10.1.0\\
geolocator_android=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geolocator_android-4.3.1\\
geolocator_apple=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geolocator_apple-2.3.2\\
geolocator_web=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geolocator_web-2.2.0\\
geolocator_windows=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geolocator_windows-0.2.1\\
google_api_headers=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\google_api_headers-2.0.3\\
google_maps_flutter=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\google_maps_flutter-2.5.0\\
google_maps_flutter_android=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\google_maps_flutter_android-2.5.1\\
google_maps_flutter_ios=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\google_maps_flutter_ios-2.3.2\\
google_maps_flutter_web=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\google_maps_flutter_web-0.5.4+2\\
package_info_plus=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\package_info_plus-4.2.0\\
path_provider=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider-2.1.1\\
path_provider_android=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_android-2.2.1\\
path_provider_foundation=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_foundation-2.3.1\\
path_provider_linux=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_linux-2.2.1\\
path_provider_windows=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_windows-2.2.1\\
permission_handler=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\permission_handler-11.0.1\\
permission_handler_android=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\permission_handler_android-11.1.0\\
permission_handler_apple=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\permission_handler_apple-9.1.4\\
permission_handler_windows=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\permission_handler_windows-0.1.3\\
shared_preferences=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences-2.2.2\\
shared_preferences_android=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_android-2.2.1\\
shared_preferences_foundation=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_foundation-2.3.4\\
shared_preferences_linux=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_linux-2.3.2\\
shared_preferences_web=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_web-2.2.1\\
shared_preferences_windows=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_windows-2.3.2\\
url_launcher=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher-6.1.14\\
url_launcher_android=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_android-6.2.0\\
url_launcher_ios=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_ios-6.2.0\\
url_launcher_linux=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_linux-3.1.0\\
url_launcher_macos=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_macos-3.1.0\\
url_launcher_web=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_web-2.2.0\\
url_launcher_windows=C:\\Users\\Tushar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_windows-3.1.0\\
1 change: 1 addition & 0 deletions sustainable-living-guide-app/.flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"geolocator_apple","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\geolocator_apple-2.3.2\\\\","native_build":true,"dependencies":[]},{"name":"google_maps_flutter_ios","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\google_maps_flutter_ios-2.3.2\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\package_info_plus-4.2.0\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.3.1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"permission_handler_apple","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\permission_handler_apple-9.1.4\\\\","native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.3.4\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"url_launcher_ios","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_ios-6.2.0\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"flutter_plugin_android_lifecycle","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\flutter_plugin_android_lifecycle-2.0.16\\\\","native_build":true,"dependencies":[]},{"name":"geolocator_android","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\geolocator_android-4.3.1\\\\","native_build":true,"dependencies":[]},{"name":"google_api_headers","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\google_api_headers-2.0.3\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"google_maps_flutter_android","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\google_maps_flutter_android-2.5.1\\\\","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]},{"name":"package_info_plus","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\package_info_plus-4.2.0\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_android-2.2.1\\\\","native_build":true,"dependencies":[]},{"name":"permission_handler_android","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\permission_handler_android-11.1.0\\\\","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_android-2.2.1\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_android","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_android-6.2.0\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"geolocator_apple","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\geolocator_apple-2.3.2\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\package_info_plus-4.2.0\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.3.1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.3.4\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"url_launcher_macos","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_macos-3.1.0\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"package_info_plus","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\package_info_plus-4.2.0\\\\","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_linux-2.2.1\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_linux-2.3.2\\\\","native_build":false,"dependencies":["path_provider_linux"]},{"name":"url_launcher_linux","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_linux-3.1.0\\\\","native_build":true,"dependencies":[]}],"windows":[{"name":"geolocator_windows","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\geolocator_windows-0.2.1\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\package_info_plus-4.2.0\\\\","native_build":false,"dependencies":[]},{"name":"path_provider_windows","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_windows-2.2.1\\\\","native_build":false,"dependencies":[]},{"name":"permission_handler_windows","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\permission_handler_windows-0.1.3\\\\","native_build":true,"dependencies":[]},{"name":"shared_preferences_windows","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_windows-2.3.2\\\\","native_build":false,"dependencies":["path_provider_windows"]},{"name":"url_launcher_windows","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_windows-3.1.0\\\\","native_build":true,"dependencies":[]}],"web":[{"name":"geolocator_web","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\geolocator_web-2.2.0\\\\","dependencies":[]},{"name":"google_maps_flutter_web","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\google_maps_flutter_web-0.5.4+2\\\\","dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\package_info_plus-4.2.0\\\\","dependencies":[]},{"name":"shared_preferences_web","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_web-2.2.1\\\\","dependencies":[]},{"name":"url_launcher_web","path":"C:\\\\Users\\\\Tushar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_web-2.2.0\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"geolocator","dependencies":["geolocator_android","geolocator_apple","geolocator_web","geolocator_windows"]},{"name":"geolocator_android","dependencies":[]},{"name":"geolocator_apple","dependencies":[]},{"name":"geolocator_web","dependencies":[]},{"name":"geolocator_windows","dependencies":[]},{"name":"google_api_headers","dependencies":["package_info_plus"]},{"name":"google_maps_flutter","dependencies":["google_maps_flutter_android","google_maps_flutter_ios","google_maps_flutter_web"]},{"name":"google_maps_flutter_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"google_maps_flutter_ios","dependencies":[]},{"name":"google_maps_flutter_web","dependencies":[]},{"name":"package_info_plus","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"permission_handler","dependencies":["permission_handler_android","permission_handler_apple","permission_handler_windows"]},{"name":"permission_handler_android","dependencies":[]},{"name":"permission_handler_apple","dependencies":[]},{"name":"permission_handler_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2023-10-29 21:45:45.393186","version":"3.16.0-0.3.pre"}
Loading