The project
Public information, made consistently useful.
Trout fishing information is public, but it is rarely simple. States publish different combinations of stocking schedules, water inventories, access information, classifications, regulations, maps, spreadsheets, and agency records.
Trout.app is an independent project created by 6 Anchors. It turns those fragmented official records into a source-backed directory designed to help anglers explore trout waters, stocking information, access records, classifications, and official state resources.
- Project
- Trout.app
- Category
- Data platform, directory, and publishing architecture
- Audience
- Trout anglers and researchers
- Core stack
- Next.js, PostgreSQL, PostGIS, and Python
- Rendering
- Server-rendered and cached HTML
- Current coverage
- 11 state programs and 9,819 waters
Directory totals verified on December 1, 2026. Live totals continue to change as source records are updated.
The challenge
The problem was scale, not the page design.
The original Trout.app proved the product concept. It organized state records into browsable directories, gave important entities stable public URLs, and generated fast static pages.
That model became expensive as the directory grew. Adding another state meant generating and maintaining thousands of additional HTML files. A routine data correction could trigger a broad rebuild and redeployment even when only one water or one state had changed.
Adding 2,000 trout waters should primarily mean adding 2,000 database entities—not adding 2,000 pieces of application architecture.
The work was not simply a redesign. The architecture had to change without discarding the existing ingestion work, breaking public URLs, or hiding important content behind client-side JavaScript.
Before and after
Move the complexity into the data model, not the page tree.
The public URLs remained familiar. What changed was the system responsible for assembling each page.
Original model
Static page tree
- State source files
- State-specific build scripts
- Thousands of generated HTML files
- Broad rebuild and deployment
Fast output, but the cost of ordinary updates grew with the page count.
Replacement model
Reusable routes and normalized records
- Official state sources
- State-specific Python adapters
- Normalization and validation
- PostgreSQL + PostGIS
- Reusable Next.js routes
- Server-rendered, cached HTML
- Nginx and trout.app
A relatively small application can serve a directory that continues to grow.
Migration strategy
Preserve the hard-won state knowledge.
The safest migration was not a wholesale rewrite. Trout.app already contained valuable state-specific adapters, source identifiers, normalized catalogs, slugs, provenance, and validation rules. Those assets represented more work—and more product knowledge—than the page templates themselves.
The existing Python ingestion investment was retained while a normalized PostgreSQL and PostGIS application store was introduced beside the original site. The previous implementation remained available during parity testing as a reference and rollback option.
This staged approach made it possible to compare the replacement application with the public site before production traffic moved to the new architecture.
The directory
One reusable route, thousands of water entities.
State directories and water pages now assemble their content from normalized records while preserving a stable, readable public URL.
Data and provenance
A shared framework without erasing state differences.
National directories become misleading when they pretend every source uses the same language and structure. Trout.app separates common ingestion stages while keeping state-specific meaning intact.
Acquire
Collect structured data, spreadsheets, maps, PDFs, and agency pages using source-appropriate adapters.
Normalize
Map shared concepts into a consistent model while retaining state-specific values where they matter.
Validate
Check identifiers, relationships, expected counts, and meaningful changes before delivery.
Show the source
Keep the responsible agency, source URL, source identifier, and original context available to readers.
Provenance is part of the product experience. Trout.app helps people find useful records, but it also makes it possible to verify time-sensitive information with the agency responsible for it.
URL and SEO preservation
Treat search continuity as a migration requirement.
Before cutover, the public site was inventoried in machine-readable form: canonical URLs, status codes, titles, descriptions, headings, structured data, sitemap membership, and internal links.
The new pages continue to deliver meaningful HTML in the server response. Canonicals, robots directives, breadcrumbs, metadata, structured data, redirects, 404 responses, and sitemaps do not depend on browser JavaScript.
These are historical migration checkpoints, not current directory totals.
Selective updates
Update the surfaces that actually changed.
A national directory should not need a full-site rebuild because one stocking record changed. Trout.app associates a change with the pages that depend on it: the water page, its state directory, affected collections, and the relevant sitemap.
Database updates and durable change records are committed together. Targeted revalidation can then be delivered, acknowledged, and retried without reconstructing the change from application logs.
The result is intentionally practical: narrow updates, predictable releases, and infrastructure sized for the workload the project actually has.
Production approach
A deliberately understandable stack.
The system favors components that are straightforward to operate, inspect, back up, and recover. Each addition solves a demonstrated need.
- Next.js for reusable server-rendered routes
- PostgreSQL and PostGIS for normalized and spatial records
- Python for state acquisition and ingestion
- Nginx for TLS termination and reverse proxying
- System services for process supervision
- Reviewed operations for migrations, backups, health checks, and releases
Lessons learned
The visible page count was never the real product.
The durable asset is the data work.
Normalized entities, state-specific knowledge, provenance, stable identifiers, validation, and repeatable ingestion make the directory valuable. Page templates are the presentation layer.
Parity has to be measurable.
Similar-looking pages are not enough. Status codes, canonicals, metadata, structured data, internal links, redirects, and sitemap membership all need systematic comparison.
Infrastructure should follow evidence.
The project gained relational storage, spatial support, caching, and durable change delivery because the workload required them—not because every modern system needs every available platform layer.
Explore the directory
See the finished system in use.
Browse source-backed trout waters, stocking records, access information, classifications, and guides across the growing Trout.app directory.