How zinhlemm/track-my-impact-1509 works
Project type and purpose
• This is a full-stack web application (“Track My Impact”) combining:
– A Next.js + React frontend (TypeScript, Tailwind, Radix UI, TFJS)
– A FastAPI backend (Python async, SQLAlchemy, SQLite, JWT auth)
– On-device AI inference (TensorFlow.js model)
– Shared JSON data files for environmental impact factors
File structure
• Top-level directories:
– backend/ (FastAPI app, routers, models, config, seed script)
– track-my-impact/ (Next.js app)
– scripts/, render.yaml, run_instructions.txt
• Patterns:
– Frontend follows Next.js App Router (src/app, src/components, public/data, public/model)
– Backend follows MVC‐style: routers (controllers), models (SQLAlchemy + Pydantic), core (config/auth), utils
– Deployment config for Render (backend) & Vercel (frontend)
README for additional insights
• Confirms tech stack, API endpoints, data flow (client ↔ backend ↔ DB), AI model placement, seed process
• Describes features: AI classification, dynamic waste logger, impact calculator, user progress, community stats
• Review with stakeholders to ensure accuracy and completeness