Getting QuipuEco running locally takes about five minutes. The project ships as two separate services that must run simultaneously: a React + Vite frontend on portDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/davidmpizarro/QuipuEco-Hackaton/llms.txt
Use this file to discover all available pages before exploring further.
5173 and a FastAPI backend on port 8000. The frontend calls the backend directly at http://localhost:8000 — no reverse proxy or environment switching needed for local development.
Prerequisites
Before you begin, make sure you have the following tools and credentials ready:Node.js 18+
Required to run the Vite dev server and install frontend dependencies. Download from nodejs.org.
Python 3.11+
Required for the FastAPI backend. Use pyenv or the official installer.
Google AI Studio API Key
Free tier available at aistudio.google.com. QuipuEco uses the
gemini-3.1-flash-lite model.Mapbox Access Token
Create a free account at mapbox.com and generate a public token from the dashboard.
Setup Steps
The repository contains the frontend in the project root and expects the backend to be in a sibling
quipueco-backend/ directory. Check the README for the latest backend repo link if it lives in a separate repository.Navigate to the frontend directory and install packages. The project uses
pnpm as its primary package manager, but npm and yarn work equally well.Vite exposes only variables prefixed with
VITE_ to the browser bundle. Any other environment variables in .env will be ignored by the frontend at runtime.In a new terminal, navigate to the backend directory, create a virtual environment, and install dependencies:
cd quipueco-backend
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
The app will be available at http://localhost:5173.
The API will be available at http://localhost:8000. The
--reload flag enables hot-reloading on code changes.You can verify the backend is running by opening the auto-generated API docs at http://localhost:8000/docs.
With both services running, open http://localhost:5173 in Chrome (required for Web Speech API support).
POST /clasificar.POST /chat and responds in audio.Verifying the API Endpoints
Once the backend is running, you can test both endpoints directly using curl or the FastAPI Swagger UI athttp://localhost:8000/docs:
Classify a waste item from an image: