This starter proves the AppThrust managed PostgreSQL path:
- AppThrust injects
DATABASE_URLthroughComponentConnection. - The initial schema is applied through
DatabaseChange. - The Next.js app reads and writes
appthrust_demo_messages.
The app does not run migrations on startup. For local development, apply
db/migrations/0001_init.sql to your PostgreSQL database, then set:
DATABASE_URL=postgresql://app:password@localhost:5432/appRun locally:
npm install
npm run dev