User Directory
Next.js 16 demo

A fast, searchable people directory

Search, filter and edit records in an accessible app, rendered on the server from a .NET API on PostgreSQL, with every change validated in the browser and on the server.

12 people · 11 countries · 15 interests

Features

Flexible search

Multi-word, accent-insensitive search across names, jobs, cities and interests, ranked by best match.

Combined filters

Filter by country, age range and interests, with removable chips and live counts.

Shareable views

Search, filters, sort and page all live in the URL, so any view can be bookmarked or shared.

Shared validation

One schema checks the form as you type and again on the server, with errors beside each field.

Server-rendered

Pages arrive fully rendered from the People API, and changes update the page without a reload.

Light and dark themes

Follows the system setting or your choice, applied on the server so there is no flash.

How it works

  1. 1

    Server Components read the data

    Pages call the People API, a .NET service on PostgreSQL, and stream ready-made HTML.

  2. 2

    The URL drives the list

    nuqs keeps search and filters in the address bar; the API searches and pages in SQL.

  3. 3

    Server Actions make the changes

    Validated actions send your signed-in token to the API, then revalidate the page.

Next.js 16React 19TypeScript.NET API + PostgreSQLTailwind CSS v4zodnuqsVitest

Explore the directory

Search, filter, or sign in to add and edit records.

Open the directory