🔥 Firelens-Deno
A Deno-based backend service that provides fire points data for the FireLens Next.js application. This service automatically downloads, processes and stores global fire points data from NASA, enriched with NDVI (Normalized Difference Vegetation Index) information.
- Deno >=1.x
# install deno
curl -fsSL https://deno.land/install.sh | sh # macos
irm https://deno.land/install.ps1 | iex # windows
deno --version
git clone https://github.com/LeonardoSya/firelens-deno
cd firelens-deno
deno task start
- 👋 Download ndvi2407.tif and make sure to put
ndvi2407.tif
indata/
. - 🧷 Create a .env file in the root directory with the following variables:
POSTGRES_USER=your_user
POSTGRES_PASSWORD=your_password
POSTGRES_DATABASE=your_database
POSTGRES_HOST=your_host
- Firelens Nextjs Built with Next.js 14, Mapbox and TypeScript
- Vercel Postgres