RecycleUs is a web application developed for the "Hack to the Future Hackathon". It aims to promote and simplify recycling habits by providing users with recycling guides, a recycling center locator, and personal recycling tracking features.
- Recycle Guide: Comprehensive guides on how to recycle different materials.
- Recycle Tracker: Personal recycling statistics and progress tracking.
- Recycle Center Locator: Interactive map to find nearby recycling centers.
- Challenges & Achievements: Gamified recycling goals and badges to encourage consistent recycling habits.
- Frontend: HTML, CSS, and minimal JavaScript
- Backend: Python with Flask
- Database: SQLite
- APIs: Google Maps API
- Authentication: Firebase
/templates
: HTML templates for the web pages/static
:/css
: Stylesheets/js
: JavaScript files
app.py
: Main Flask applicationdatabase.py
: Database setup and migrationsfirebase_config.py
: Firebase configuration and authentication functionsscheduled_tasks.py
: Background tasks for updating user streaks
- Clone the repository
- Install required Python packages:
pip install -r requirements.txt
- Set up Firebase:
- Create a Firebase project
- Download the Firebase Admin SDK key and save it as
firebase_key.json
in the project root - Update
firebase_config.py
with your Firebase project details
- Set up Google Maps API:
- Obtain a Google Maps API key
- Create a
.env
file in the project root and add your API key:GOOGLE_API_KEY=your_api_key_here FIREBASE_API_KEY=your_firebase_api_key_here
- Initialize the database:
python database.py
- Run the application:
python app.py
- Sign up and create a profile
- Explore recycling guides
- Use the map to find nearby recycling centers
- Log recycling activities
- Track habits, progress, and earn rewards
This project was developed as part of a hackathon. While it's not actively maintained, contributions, suggestions, and feedback are welcome. Please open an issue or submit a pull request if you'd like to contribute.
This project was developed by the team "We Can't Code" during the Hack to the Future Hackathon. The team members are:
- Hack to the Future Hackathon organizers
- Google Maps API
- Firebase
- All contributors and participants