Code Pub

Connect a database to bring the platform online.

The dashboard and API are ready, but the app needs a Postgres connection before it can persist plants and their latest reading snapshot.

Server error (HTTP status 402): {"message":"Your account or project has exceeded the compute time quota. Upgrade your plan to increase limits.","code":"","detail":null,"hint":null,"position":null,"internalPosition":null,"internalQuery":null,"severity":"","where":null,"table":null,"column":null,"schema":null,"dataType":null,"constraint":null,"file":null,"line":null,"routine":null,"neon:retryable":true}

  1. Create a Neon Postgres database.
  2. Add its connection string as DATABASE_URL.
  3. Restart the Next.js app or redeploy on Vercel.