How pedrolivaresanchez/emergency-cv works
Project type and purpose
• This is a full‑stack emergency‑response web application (“Ajuda Dana Valencia”) built with Next.js (React) on the frontend, Next.js API routes on the backend, and Supabase as the database/auth layer.
• It centralizes real‑time alerts, interactive maps, help requests/offers, and integrates with an external C# “DanaCrawler” worker to seed and update data from Google Sheets.
File structure
• Top‑level:
• next.config.mjs, Dockerfile, kubernetes.yml for build/deploy
• src/app (Next.js pages and layouts)
• src/api (internal API routes under src/app/api)
• src/components, src/context, src/lib, src/helpers, src/types for UI, state, service calls, and type definitions
• supabase/ for database migrations, seed, config
• tools/DanaCrawler/ is a standalone .NET worker that runs in its own container
• .github/workflows for CI/CD (code quality, crawler run, webapp deploy)
• The presence of kubernetes.yml and Dockerfile suggests containerized deployments (both webapp and crawler).
README for additional insights
• Confirms Next.js, Supabase, TailwindCSS stack.
• Mentions environment variables for Supabase URL and ANON key.