Dart Frog

Dart Framework

Dart Frog Deployment Guide

Dart Frog is supported in Alkimist.

Important Before Deploy

Before deployment, make sure:

  1. You push your latest project changes to GitHub.
  2. You run the build command:
bash
dart_frog build

Alkimist will use the generated build output when deploying.

Healthcheck Route

Do not forget to create a healthcheck route file, for example routes/up.dart:

dart
import 'package:dart_frog/dart_frog.dart';

Response onRequest(RequestContext context) {
  // TODO: implement route handler
  return Response(body: 'This is route is for healthcheck!');
}

Use /up as your healthcheck path in your deployment config.

Deployment Flow

  1. Push code to GitHub.
  2. Run dart_frog build.
  3. Start deployment in Alkimist.