Skip to content

weather-blade/weather-frontend

Repository files navigation

weather-frontend

Frontend web app used for displaying data from backend API

Github action automatically builds and deploys the static files to github pages on every commit.

The whole app is SPA and is cached with service worker, so it can work offline and it can be installed as PWA.

The dashboard displays all sorts of data from the last 24 hours. You get real-time updates on the dashboard whenever new reading is received by backend API. This is done with server-sent events.

In history tab, you can look at all the data collected from each month.

The forecast tab displays forecast from Met.no API. You can opt-in to receive notifications every morning with forecast for that day (temperature, precipitation and a nice icon) - this is handled by the service worker. The notifications are sent out by this script.

How to run this

  • Clone the repository, then install packages:
pnpm install
  • Run dev server:
pnpm run dev
  • Or run dev server in docker:
pnpm run docker

About

Frontend web app for displaying data collected by weather station

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published