How macasrenata/ipaam-monitoring works
Project type and purpose
• This is a Next.js-based full-stack web application (“IPAAM Monitoring App”) for visualizing, filtering, and exporting logging-permit data in the Amazon region.
• The frontend is built with React/Next.js (the “app” directory using Next.js 13+ conventions). The backend consists of Next.js API routes serving JSON (“app/api/dados/route.ts”) and static data files in “public/”.
File structure
• Top-level config: next.config.ts, tsconfig.json, vercel.json (indicates Vercel deployment), package.json/.lock.
• app/ directory:
• api/dados/route.ts – serverless API endpoint that reads JSON from public/data*.json
• components/ (Filtro.tsx, Tabela.tsx) – reusable UI widgets
• layout.tsx, globals.css – global layout and styles
• page.tsx & produtos/page.tsx – main routes (“/” and “/produtos”)
• public/: contains data.json & data23.json (source datasets) plus static assets/fonts, etc.
README
• Confirms it’s a data-driven dashboard using open data (Sinaflor, DOF) and CSV export.
• No external DB; data is preprocessed and stored as JSON.
• Deployment on Vercel; uses Next.js dev script.