https://github.com/appthrust/template-nextjs-blacksmith
AppThrust Next.js PostgreSQL template with Blacksmith GitHub Actions builds
https://github.com/appthrust/template-nextjs-blacksmith
Last synced: 10 days ago
JSON representation
AppThrust Next.js PostgreSQL template with Blacksmith GitHub Actions builds
- Host: GitHub
- URL: https://github.com/appthrust/template-nextjs-blacksmith
- Owner: appthrust
- Created: 2026-06-09T05:27:33.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-06-09T05:48:46.000Z (about 1 month ago)
- Last Synced: 2026-06-09T07:26:07.396Z (about 1 month ago)
- Language: TypeScript
- Size: 83 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# AppThrust Next.js PostgreSQL Blacksmith template
This starter proves the AppThrust managed PostgreSQL path:
- AppThrust injects `DATABASE_URL` through `ComponentConnection`.
- The initial schema is applied through `DatabaseChange`.
- The Next.js app reads and writes `appthrust_demo_messages`.
This variant builds container images on Blacksmith GitHub Actions runners.
The app does not run migrations on startup. For local development, apply
`db/migrations/0001_init.sql` to your PostgreSQL database, then set:
```bash
DATABASE_URL=postgresql://app:password@localhost:5432/app
```
Run locally:
```bash
npm install
npm run dev
```