My Taste

Next.js + PostgreSQL starter

This page includes a simple frontend and an internal API route that checks the database connection using the configured DATABASE_URL.

Frontend

Status dashboard

Shows the API result directly in the UI.

API

/api/health/db

Returns a structured JSON health check payload.

Database

Reusable pg pool

Shared DB helper in lib/db.ts.

Database health check

Click the button below to call the internal API route and verify PostgreSQL connectivity.