How exertion-solutions/estudios-de-impacto-ambiental works
eia-app is an internal environmental-reporting system. Consultants authenticate, manage clients and projects, enter project scope and field data (including offline surveys, layers and GPS), run quality control, complete report content, and generate reports; an administrator approves the final version and package. The web app uses Supabase, while a separate worker polls and processes queued layer, GPS, figure and document jobs. The README documents the full product workflow; sampled source confirms worker dispatch and several processing dependencies, but not every web-to-data interaction.
Main entry points: poller.py Job poller · docs.py Document build · layers.py Layer processing · (auth) Authentication
Components 26
Web application
- Authentication
apps/web/src/app/(auth) - Client management
apps/web/src/app/(app)/clientes/page.tsx - Project management
apps/web/src/app/(app)/proyectos/page.tsx - Auth offline cache
apps/web/src/lib/auth/offline-cache.ts - Offline database
apps/web/src/lib/offline/db.ts
Project workflow
- Project scope
apps/web/src/components/project/alcance.tsx - Field survey
apps/web/src/components/project/relevamiento.tsx - Offline data
apps/web/src/lib/offline/repo.ts - Layers and GPS
apps/web/src/lib/data/layers.ts - Quality control
apps/web/src/components/project/control.tsx - Report content
apps/web/src/components/project/impactos.tsx - Report review
apps/web/src/components/project/informe.tsx - Impact matrix
apps/worker/app/core/matriz.py
Worker processing
- Worker service
apps/worker/app/main.py - Job poller
apps/worker/app/jobs/poller.py - Layer processing
apps/worker/app/jobs/layers.py - CRS utilities
apps/worker/app/core/crs.py - GPS processing
apps/worker/app/jobs/gps.py - Map figures
apps/worker/app/jobs/figures.py
Report generation
- Document build
apps/worker/app/jobs/docs.py - Report sections
apps/worker/app/core/report_sections.py - Text templates
apps/worker/app/core/text_template.py - Coordinate formatting
apps/worker/app/core/geo.py
Other components
- Consultant
- Administrator
- Supabase
Connections 30
- Consultant → Authentication: signs in
- Administrator → Authentication: signs in
- Consultant → Client management: manages clients
- Consultant → Project management: manages projects
- Consultant → Project scope: defines scope
- Consultant → Field survey: records field data
- Field survey → Offline data: stores offline
- Consultant → Layers and GPS: imports layers and GPS
- Consultant → Quality control: checks quality
- Consultant → Report content: completes content
- Consultant → Report review: requests report
- Administrator → Report review: approves version
- Authentication → Auth offline cache: uses cache
- Auth offline cache → Offline database: uses storage
- Worker service → Job poller: starts polling
apps/worker/app/main.py - Job poller → Supabase: claims jobs
apps/worker/app/jobs/poller.py - Job poller → Layer processing: dispatches layers
apps/worker/app/jobs/poller.py - Job poller → GPS processing: dispatches GPS
apps/worker/app/jobs/poller.py - Job poller → Map figures: dispatches figures
apps/worker/app/jobs/poller.py - Job poller → Document build: dispatches builds
apps/worker/app/jobs/poller.py - Layer processing → CRS utilities: uses reprojection
apps/worker/app/jobs/layers.py - Layer processing → Supabase: reads and writes
- GPS processing → Supabase: reads and writes
- Map figures → Supabase: updates job
apps/worker/app/jobs/figures.py - Document build → Report sections: builds sections
apps/worker/app/jobs/docs.py - Document build → Text templates: renders text
apps/worker/app/jobs/docs.py - Document build → Coordinate formatting: formats coordinates
apps/worker/app/jobs/docs.py - Document build → Supabase: loads report data
- Impact matrix → Supabase: seeds catalogs
- Report review → Supabase: requests generation