Case study
Problem
Using an external API without a JavaScript framework, while keeping an interface that is quick to browse (search, filters).
What I did
Wrote the Go server: routes, mapping of the Tyradex API data, HTML templates.
Technical challenge
Mapping the API data into dedicated Go structs, then rendering it server-side with html/template.
Outcome
A deployed demo app: search, filters by type and generation, detail pages and favourites.
Description
A web app written in Go that consumes the Tyradex API to display Pokémon. The server fetches the data, maps it into dedicated Go structs, then renders HTML pages from templates.
The project focuses on how a Go backend talks to the interface: routing, mapping API data and server-side rendering, with no JavaScript framework.
Technologies
Gonet/httphtml/templateTyradex APIHTML/CSS
Features
- Home page with a random Pokémon
- Collection with search by name
- Filters by type, generation (1 to 9) and special forms
- Detail page: stats, abilities, resistances, evolutions, sprites
- Favourites toggled from the detail pages
- Server-side rendering with html/template



