auka.dev
Back to Projects

Full-Stack · 2026 · Full-Stack Developer

Toxic Rain Refuge

Hackathon full-stack survival resource & hazard-zone coordination app

Leaflet + OSM

Mapping

Framer Motion

Motion

Prisma / libSQL

Storage

01 · The Problem

During emergency resource shortages, survivor teams needed a single map-driven view linking safe/toxic zones with urgent supply missions.

02 · Architecture

  • 01Vite + React + TypeScript frontend pairs OpenStreetMap & React Leaflet layers with Framer Motion transitions.
  • 02Express + TypeScript backend backed by Prisma and @prisma/adapter-libsql manages inventory levels, zone coordinates, and survivor assignments.
  • 03Mission recommender ranks dispatches by resource shortage severity, proximity, and nearby toxic zone risk.

03 · Key Engineering Decisions

  • Used OpenStreetMap via React Leaflet to avoid external map API billing keys while supporting custom toxic-zone overlays.
  • Adopted libSQL with Prisma adapter for quick local SQLite prototyping and straightforward edge migration.

04 · Outcome

Completed end-to-end resource CRUD, interactive hazard mapping, and mission assignment within hackathon time constraints.

Tech Stack

React · TypeScript · Vite · Tailwind CSS · Leaflet · Express.js · Prisma