Coder Social home page Coder Social logo

ecosorter's Introduction

Ecosorter

Logo The Ecosorter App, crafted with React Native for cross-platform compatibility, revolutionizes waste management. Utilizing a custom-built TensorFlow model trained on 25,000 images, it accurately categorizes waste into eight distinct types: paper, tech, baggy, plastic, metal cans, leaf, food, and wood. The app boasts a visually stunning UI, featuring fluid animations and supporting both light and dark themes. Providing comprehensive information, including facts, charts, videos, and photos, it educates users about each waste category. With Firebase authentication seamlessly integrated, the app ensures secure user access, complemented by push notification support. To stimulate engagement, Ecosorter implements a competitive edge through a leaderboard and scoring system. Real-time score updates are facilitated by Cloud Firestore, enhancing the interactive and dynamic user experience. The app also offers a choice between light and dark modes for personalized visual preferences. Leveraging the power of Cloud Firestore, Ecosorter exemplifies a forward-looking waste management solution that not only enhances user awareness but also delivers a rich and engaging experience.

Badges

TensorFlow React Native React Query Expo

Features

  • IOS and Android support
  • Fluid interactive animations
  • Vibrant dark and light themes
  • Firebase powered secure auth
  • FCM powered Scheduled and custom push notifications
  • interactive maps to find waste centres
  • Detailed charts, videos, heatmaps, pictures to educate users
  • Custom avatars and competitive leaderboards
  • Custom API and caching techniques implemented for faster retrieval of data

Demo

Android(v1.2.0) IOS(alpha build)
Everything Is AWESOME Everything Is AWESOME

Screenshots

App Screenshots

Tech Stack

Frontend:

  • React Native, Expo
  • React Navigation, React Query, Tanstack Query
  • Shopify Skia, Paper, Modal
  • Lottie, Reanimated, SVG
  • Maps, WebView
  • Victory Native, Gesture Handler
  • Firebase, Firestore

Backend:

  • Firebase

Additional Libraries:

  • Toast: @backpackapp-io/react-native-toast
  • Collapsible View: @eliav2/react-native-collapsible-view
  • Bottom Sheet: @gorhom/bottom-sheet
  • Async Storage: @react-native-async-storage/async-storage
  • Google Sign-In: @react-native-google-signin/google-signin
  • Masked View: @react-native-masked-view/masked-view
  • HTTP Requests: axios
  • Color: color
  • Authentication Session: expo-auth-session
  • Camera: expo-camera
  • Location: expo-location
  • Notifications: expo-notifications
  • File System: expo-asset, expo-crypto, expo-file-system
  • Fonts: expo-font
  • Device Info: expo-device
  • Application Insights: expo-insights
  • Constants: expo-constants
  • Splash Screen: expo-splash-screen
  • System UI: expo-system-ui
  • Updates: expo-updates
  • Web Browser: expo-web-browser
  • Dev Client: expo-dev-client

Installation

  • Download APK from releases tab

  • Click on install anyway

  • Allow all permissions

Run Locally

Clone the project

  git clone https://github.com/Megahedron69/EcoSorter

Go to the project directory

  cd my-project

Install dependencies

  npm install

Start the server

  npx expo start

Choose android /ios/expo go from terminal

Color Reference

Light Theme Hex
Primary #006e1c #006e1c
Secondary #0061a4 #0061a4
Tertiary #96480e #96480e
Surface #fcfdf6#fcfdf6
Dark Theme Hex
Primary #78dc77 #78dc77
Secondary #9ecaff #9ecaff
Tertiary #ffb68c #ffb68c
Surface #1a1c19 #1a1c19

API Reference

Get all items

  GET https://mocki.io/v1/
Parameter Type Value
instance_id string Required. e7c35e30-4554-4562-935c-628cd7e8eac6

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

#from firebase

EXPO_PUBLIC_apiKey

EXPO_PUBLIC_authDomain

EXPO_PUBLIC_projectId

EXPO_PUBLIC_storageBucket

EXPO_PUBLIC_messagingSenderId

EXPO_PUBLIC_appId

EXPO_PUBLIC_measurementId

#maps key from google cloud

EXPO_PUBLIC_mapi

Known Bugs

  • Repetitive IntroScreen: Everytime app opens the skip intro animation does not work
  • Input field validation causes app crash: Auth input fields validation works in emulator but validation causes app crash in build
  • Google auth not working
  • Notification delay: App Notifications set at 2min timer get accumulated come at once
  • Maps may not work due to API restrictions set by me. Contact for demo
  • Scanner works at reduced FPS
  • Status bar bug: Expo status bar gets bugged at some places
  • Charts screen info array bugged: Radar chart works at reduced fps due to using old react native victory charts and activity rings data misplaced due to wrong method used for data retrieval from firestore
  • Bugged settings form validation
  • Dark mode toggle does not work but theme changes work by changing device theme

Contributing

Contributions are always welcome!

Please adhere to this project's code of conduct.

Acknowledgements

Authors

License

MIT

ecosorter's People

Contributors

megahedron69 avatar

Stargazers

 avatar  avatar Aimee Pineda avatar Punnya avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.