Geo-360 Live.
A weather map for Sri Lanka. A React map shows temperature, humidity, air pressure and wind for 15 cities, refreshed every 5 minutes, with email digests for subscribers.
[ Role ]
Full-stack developer
[ Categories ]
- Full-Stack & SaaS
- DevOps & Cloud
[ Stack ]
- React
- Leaflet
- Node.js + Express
- PostgreSQL
- Swagger (OpenAPI)
- Nodemailer
- Heroku + Azure
- GitHub Actions
Sri Lanka's Department of Meteorology updates its public weather data only every three hours. I built Geo-360 Live to show conditions every five minutes. A Node.js and Express API pulls readings for 15 cities from the Weatherstack API into PostgreSQL on a schedule and serves them as JSON with Swagger docs. When the free API tier ran out, I added a data simulator on the same pipeline for the demo. A React app plots each city on a Leaflet map with 24-hour stats and email digests, deployed to Heroku and Azure.
- 01Five-minute refresh. A scheduled job updates all 15 cities every five minutes with an upsert in one database transaction, so the map never shows half an update.
- 02Interactive map. React and Leaflet place a live marker on each city, and the side panel shows max, min and average temperature, humidity and air pressure.
- 03Documented REST API. The Express API serves weather data in a clean JSON format and comes with Swagger docs, so other developers can try every endpoint.
- 04Email digests. Users subscribe with their email and city, and Nodemailer sends a summary of that city's max, min and average temperature every six hours.