page:recipes:admin dashboard:nuxt:activity history

Host admin dashboard with Nuxt: application activity history

Summary
Deploy an admin dashboard built with Nuxt on Ample using the transactional workflows pattern. Compute runs the app in an isolated microVM behind a public HTTPS URL, a managed PostgreSQL 16 database is auto-provisioned and injected as DATABASE_URL. Verified on Nuxt: an optimistic version check and an event row written in the same transaction, a stale update rejected, and a history query over the application-owned events (history=2 conflict=rejected). Not separately tested: your domain records, validation rules and concurrency policy; treat the admin dashboard-specific behavior as your application code.

Representative Queries


Prerequisites

Workflow Steps

  1. Build and start
    nuxt build then node .output/server/index.mjs (reads HOST and PORT) on the node-22 template. The server must bind 0.0.0.0 on PORT.
  2. Implement the pattern on PostgreSQL
    Copy the approach into your schema; keep migrations idempotent and run them with --release-command.
  3. Deploy
    ample deploy . --name --public
  4. Verify
    ample logs --kind build

Limitations

Examples

Success Checks

Cost Estimate

Currency: USD
Monthly Amount: 10.00
Components: