Docs
Get Started

Tutorials

Each tutorial takes an application that runs on your machine and gets it deployed, with a managed database, migrations, and a domain.

Most of the work in every one of them happens in your repository rather than in the dashboard. That is deliberate. The AI agent already works out the framework, the dependency file, the port, and the start command, so the part worth writing down is the part it cannot do for you: making a development-mode application safe to serve real traffic.

What every tutorial covers

  • Configuration from the environment, so no secret is committed and debug mode is off.
  • A production server, rather than the development server the framework starts by default.
  • Binding to $PORT on 0.0.0.0, which is the difference between a deploy that works and one that builds successfully and is then unreachable.
  • A managed database, read from DATABASE_URL rather than a file on local disk.
  • Migrations, as a post-build command so schema changes ship with the code that needs them.
  • A Procfile, so each process becomes a resource on the environment.

Each one ends with a list of the failures that framework actually produces, and what causes them.

Pick your framework