Blueprints
Next.js - Blueprint
Pure Next.js app with pages, search and a JSON API, no database
A pure Next.js starter with no database. It is a small explorer app with a searchable list, a detail page per item and a read-only JSON API, served from typed data in the repository.
Tech stack:
| Layer | Technology |
|---|---|
| Framework | Next.js App Router |
| Frontend | React, server components by default |
| Styling | Tailwind CSS |
| Data | A typed file in the repository |
| Language | TypeScript |
The application runs on port 3000 and needs no environment variables.
View on GitHub →Routes
| Path | What it does |
|---|---|
/ | The list with a search box and type filters |
/targets/{slug} | Detail page of one item |
/about | What the starter contains and where to edit it |
/api/targets | The list as JSON, supports ?type= and ?q= |
/api/targets/{slug} | One item as JSON |
/api/health | Health check |
Project Structure
app/ pages and API routes
components/ shared React components
data/ the typed data the app shows
lib/ filtering, lookup and formatting helpers- The data lives in
data/targets.ts. Edit it and push to change what the app shows. - Only the search and filter control is a client component. Everything else renders on the server.
- When the app needs to store data, add a database in the project and read it from a server component or a route handler.
Running Locally
npm install
npm run devWith Docker
docker compose up --build