Examples
Next.js + Database
Deploy a full-stack Next.js app with SQLite
Prompt
Prompt
❯
Build a Next.js app with a notes feature. Use server actions for the backend and connect to a SQLite database on Ink for persistence. Include create, read, update, and delete operations. Deploy to Ink.
What happens
- Agent provisions a SQLite database via
create_resource - Builds a Next.js app with server actions
- Sets
DATABASE_URLandDATABASE_AUTH_TOKENas environment variables - Deploys the app connected to the database
Services created
| Service | Type |
|---|---|
| Next.js app | Service |
| SQLite database | Resource |