The Deployer

Avinash147-1193/lab-nextjs-postgres

A small Next.js guestbook on Postgres. The Deployer Lab deploys it to measure real deploys.

Almost: add 1 environment variable

It will deploy once the items below are sorted. Each one comes with the fix.

Checked
15 Sep 2026
Branch
main
Commit
b4a6cb1
Services
1
Files read
11

What we found

1 service, mostly JavaScript.

lab-nextjs-postgres

/

Full-stack app · Next.js · JavaScript/TypeScript 20

Port
3000
Build
npm run build
Start
npm run start
Health check
Not found
Dockerfile
None, a deploy generates one
Needs
Postgres
1 environment variable the code reads
  • DATABASE_URL

What's missing, with the fix

Nothing blocks a deploy. 1 tip worth a look.

Tip

No health check endpoint in /

A deploy needs one address that answers 200 when the app is up. Without it the platform can only guess: a crashed API can look healthy, and a new version gets traffic before it's ready.

Create this route handler:

app/api/health/route.js
export function GET() {
  return Response.json({ status: 'ok' })
}
To do

Values for 1 environment variable

The code reads these. A deploy needs a value for each one, or an empty value where your app doesn't use it.

  • DATABASE_URL

Secrets and exposed keys

We also look for credentials committed to the repository, and for secret keys compiled into code that runs in the browser. What we find shows only in the browser that ran this check, and is deleted after a week.

What it would cost

The cheapest setup that fits this app on each cloud. Your cloud provider bills you directly, never us.

CloudSetupPer month
DigitalOceanHobby: one small server$7 to $10
AWSHobby: one small server$12 to $19
Google CloudHobby: one small server$12 to $19
AzureHobby: one small server$12 to $18

Estimates for modest traffic, before tax and before any free credits. DigitalOcean comes first because it's usually the simplest place to start.

Or have us fix it and put it live

With Launch, we make these changes, deploy the app into your own cloud account with HTTPS and monitoring, and it's live within 48 hours or you get a full refund.

Get Launch for $99

Share it

The link keeps this result. The badge always shows the repository's latest check.

Run the check again after you change something.