finds.dev← search

// the find

triestpa/Atlas-Of-Thrones

★ 310 · JavaScript · NOASSERTION · updated Dec 2022

An interactive "Game of Thrones" map powered by Leaflet, PostGIS, and Redis.

A Koa API and a Leaflet frontend that draw an interactive map of the Game of Thrones world, with geographic data stored in PostgreSQL via PostGIS and cached in Redis. It suits developers who want a worked example of PostGIS and Redis behind a map UI, not a codebase to build a product on.

- The README links two tutorial posts that explain the backend (Node, PostGIS, Redis) and the frontend (Webpack, Leaflet, no framework), so the code comes with written reasoning attached.

- The data pipeline is in the repo: shapefile download scripts, a psql load script, and Node scrapers that pull summaries from wikis. You can see where the data came from instead of trusting an opaque dump.

- A full SQL dump is published, so you can run the app without re-running the scrapers. That makes the project usable for experimenting even if the upstream sources have changed.

- The frontend is plain JavaScript components on Leaflet with no framework, which keeps it short enough to read end to end in an afternoon.

- The last push was December 2022. Treat the dependency tree as unverified and budget time to bring Node, Webpack, Koa and the PostGIS image up to date before anything runs cleanly.

- Setup means a local PostgreSQL with PostGIS, a Redis instance, and a hand-written .env. The DATABASE_URL example is tied to the author's username, and the README gives no containerized setup to avoid that.

- The README says Redis is used for caching but not what is cached or for how long, so it is hard to judge whether it earns its place in the architecture.

- The summaries are scraped from fan wikis, and the README does not address whether reusing that text is allowed. There is also no mention of tests anywhere in the README.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →