Recyclify is a green technology application designed to streamline the process of recycling electronics. By using Cloud Firestore and Firebase Analytics, Recyclify helps users find recycling centers, track their recycling activities, and promote sustainable practices.
- Find Recycling Centers: Locate nearby electronics recycling centers.
- Track Recycling Activities: Keep a record of your recycling habits.
- Sustainability Tips: Get tips on how to reduce electronic waste.
- Analytics: Track user engagement and app performance using Firebase Analytics.
- Donation to Schools and NGOs: Partner with schools and NGOs to donate functional electronics to underprivileged students and communities.
- Gamification System: Create a gamified experience where users can achieve points based on their recycling and donation activities.
- Special Customers: Recognize and celebrate users who propagate this drive, gifting them special premium features for free.
- Real-Time Pick-Up Tracking: Offer real-time tracking mechanisms for pick-up services, enhancing reliability.
- Free and Fair for All: Ensure customers receive the best fair value from sellers, eliminating disparity.
- Data Security: Ensure data security and privacy by offering certified data wiping services before recycling or donating devices.
- Environmental Impact Reports and Carbon Footprint Calculator: Raise awareness about environmental impacts, celebrating achievements to promote a sustainable mindset for a better future.
- Flutter: Frontend framework for building cross-platform mobile applications.
- Cloud Firestore: Backend NoSQL database for storing recycling center locations and user data.
- Firebase Analytics: Service to track user engagement and app performance.
- Firebase Storage: Service to store user data.
- Firebase Storage Database: Store user data in an organized database specifying users and their data.
Before you begin, ensure you have the following installed:
- Flutter SDK: Flutter Installation Guide
- Firebase CLI: Firebase CLI Installation
- A Google account with access to Firebase Console
-
Clone the Repository
git clone https://github.com/yourusername/recyclify.git cd recyclify -
Set Up Firebase
- Go to the Firebase Console.
- Create a new project named Recyclify.
- Add an Android and/or iOS app to your Firebase project.
- Follow the instructions to download the
google-services.json(for Android) andGoogleService-Info.plist(for iOS) files and place them in the appropriate directories in your Flutter project. - Enable Firestore and Firebase Analytics in the Firebase console.
-
Configure Firebase in Flutter
- Add Firebase dependencies to your
pubspec.yaml:dependencies: flutter: sdk: flutter firebase_core: latest_version cloud_firestore: latest_version firebase_analytics: latest_version
- Install dependencies:
flutter pub get
- Add Firebase dependencies to your
-
Initialize Firebase
- In your
main.dart, initialize Firebase:import 'package:firebase_core/firebase_core.dart'; import 'package:flutter/material.dart'; void main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp(); runApp(RecyclifyApp()); } class RecyclifyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Recyclify', home: HomeScreen(), ); } }
- In your
-
Run the App
flutter run
- lib/: Contains all Dart files
- main.dart: Entry point of the app
- screens/: Contains various screens such as Home, Recycling Centers, Profile
- services/: Contains services for interacting with Firestore and Firebase Analytics
- models/: Contains data models
- widgets/: Contains reusable widgets
You can find the latest release of Recyclify on our Releases page.
We welcome contributions! Please read our Contributing Guidelines for more information.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, please contact us at support@recyclify.com.
Feel free to modify any part as necessary!