/weather-tracker

A weather tracker made with Templ, Go & the std library.

Primary LanguageGo

Weather Tracker App

A weather tracker application made with Go, Templ, HTMX and AlpineJS. The application uses the www.meteosource.com public API to generate the weather data for a given city.

Features

  • Search box
  • 5 day weather forecast

Getting Started

Installation

Usage

cp .env.example .env
# populate the API_KEY with your own

# using make 
make run

# using Go 
go run ./cmd/api/main.go

MakeFile

run all make commands with clean tests

make all build

build the application

make build

run the application

make run

live reload the application

make watch

run the test suite

make test

clean up binary from the last build

make clean