Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/vanegasjoseignacio2-cyber/Eco-It/llms.txt

Use this file to discover all available pages before exploring further.

Eco-It is a full-stack environmental sustainability platform built for Colombian citizens, educators, and municipal organizations who want to make recycling and ecological education accessible, engaging, and measurable. It combines an AI-powered assistant, an interactive recycling-point map, a browser-embedded eco-game, and a real-time admin panel into a single cohesive product — enabling both end-users and administrators to act on environmental data with confidence.

Key Features

EcoBot AI Assistant

Chat with EcoBot, powered by Google Gemini via OpenRouter, for instant answers on recycling best practices, material classification, and local environmental tips.

Interactive Recycling Map

Browse verified recycling collection points across Colombia on a Leaflet-powered map. Filter by material type and get directions directly from the browser.

Eco-Game

Play an immersive Unity WebGL eco-game embedded in the platform that rewards responsible recycling behavior and teaches environmental concepts through gameplay.

Real-time Notifications

Receive instant in-app notifications delivered via Socket.io. Admins broadcast platform-wide announcements; users get personal alerts as they happen.

Authentication

Secure sign-in with local email/password (bcrypt hashed) or one-click Google OAuth 2.0. JWT tokens guard every protected route on both frontend and backend.

Admin Panel

A real-time admin dashboard with live user presence counters, audit logs, carousel management, recycling-point moderation, and pending-registration review.

Tech Stack

Eco-It is built on a modern, production-tested stack chosen for performance, security, and developer ergonomics.
LayerTechnology
Backend runtimeNode.js 18+ with Express 4
DatabaseMongoDB via Mongoose 9 (MongoDB Atlas in production)
Frontend frameworkReact 19 + Vite 8
StylingTailwind CSS 4, Framer Motion, Styled Components
RoutingReact Router DOM 7
Real-timeSocket.io 4 (server + client)
AuthenticationPassport.js — Local + Google OAuth 2.0, JWT (jsonwebtoken 9)
AIOpenRouter SDK (Google Gemini model)
MapsLeaflet 1.9 with OpenStreetMap tiles
MediaCloudinary 2 (image uploads and transformation)
GameUnity WebGL build embedded in React
EmailNodemailer (password recovery)
SecurityHelmet 8, express-rate-limit 8, express-mongo-sanitize, CORS allowlist

Monorepo Structure

Eco-It is organized as a pnpm workspace monorepo. The root package.json declares two workspace packages — backend and frontend — and the root-level concurrently dev dependency wires them together so a single pnpm dev command starts both services at once. Always run pnpm install from the repository root to install all workspace dependencies in one step.

Build docs developers (and LLMs) love