This is a submission for the Weekend Challenge: Earth Day Edition
What I Built
EcoScore AI is a web application that evaluates your environmental impact in seconds and provides recommendations to improve your sustainability habits.
The goal is not just to calculate a score, but to understand real environmental behavior.
Demo
๐ Live Demo: https://eco-score-frontend.vercel.app/
Code
๐ GitHub Repository: https://github.com/Andyx1923/eco-score-ai
How I Built It
๐ ๏ธ Stack
- Frontend: Angular
- Backend: Node.js + Express
- Database: MongoDB Atlas
- AI: Google Gemini API (planned full integration)
- Deployment: Vercel (frontend) + Render (backend)
โ๏ธ Architecture
Angular โ Express API โ MongoDB โ AI (Gemini)
๐ Flow
- User selects:
- Transport type
- Plastic usage
- Energy consumption
Data is sent to backend
Backend:
- Calculates EcoScore
- Stores aggregated data
- (Planned) Sends data to Gemini for personalized insights
๐ง Challenges
- MongoDB authentication errors
- Deployment issues (Vercel 404 routing)
- CORS problems between frontend and backend
- Environment configuration (dev vs production)
- API integration debugging
These issues helped me understand real-world full-stack development.
๐ Real-World Impact Vision
This project is designed to go beyond a demo.
My goal is to implement EcoScore AI at the
Technical University of Machala (UTMACH).
By collecting anonymous responses, we can:
- Measure environmental habits of students
- Analyze sustainability trends
- Generate real data insights
๐ Why This Matters
With enough data, we can answer:
- How sustainable is our university community?
- What habits need improvement?
- Where should we take action?
This could help drive initiatives like:
- Tree planting ๐ณ
- Sustainable transport campaigns ๐ฒ
- Plastic reduction programs โป๏ธ
๐ค AI Vision
Currently, recommendations are basic.
The next step is to fully integrate Google Gemini to:
- Generate personalized sustainability advice
- Replace static messages with dynamic insights
- Adapt recommendations based on behavior
๐ฎ Future Improvements
- User authentication
- Historical tracking
- Analytics dashboard
- Full AI integration
- University-level deployment
๐ท๏ธ Prize Categories
This project aims to qualify for:
๐ Best Use of Google Gemini
๐ง Final Thoughts
This started as a simple Earth Day project.
But it evolved into something bigger:
A tool that could help a real community understand and improve its environmental impact.
And thatโs the kind of software I want to build.
Top comments (0)