https://github.com/leonardosya/firelens-deno
A Deno-based backend service that provides fire points data for the FireLens Next.js application.
https://github.com/leonardosya/firelens-deno
deno postgresql typescript
Last synced: about 2 months ago
JSON representation
A Deno-based backend service that provides fire points data for the FireLens Next.js application.
- Host: GitHub
- URL: https://github.com/leonardosya/firelens-deno
- Owner: LeonardoSya
- Created: 2024-11-29T07:14:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-09T08:23:21.000Z (over 1 year ago)
- Last Synced: 2025-02-06T09:47:50.502Z (over 1 year ago)
- Topics: deno, postgresql, typescript
- Language: TypeScript
- Homepage: https://firelens.vercel.app/
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
๐ฅ 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.
## ๐ Getting Started
[](https://skillicons.dev)
- Deno >=1.x
```bash
# 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](https://drive.google.com/file/d/10kXJ_bZzjbioaZp3gPqhe46PHIIF8ySA/view?usp=drive_link) and make sure to put `ndvi2407.tif` in `data/`.
- ๐งท Create a .env file in the root directory with the following variables:
```bash
POSTGRES_USER=your_user
POSTGRES_PASSWORD=your_password
POSTGRES_DATABASE=your_database
POSTGRES_HOST=your_host
```
## ๐ ๏ธ Technology Stack
[](https://skillicons.dev)
#### Frontend
- [Firelens Nextjs](https://github.com/LeonardoSya/firelens-nextjs) Built with **Next.js 14, Mapbox and TypeScript**
#### Backend Options
1. [**Deno**](https://github.com/LeonardoSya/firelens-deno)
2. [**NestJS**](https://github.com/LeonardoSya/firelens-nestjs)
#### Database
- Vercel Postgres