Skip to content
pubscout

dart_frog

1.2.6, released a year ago by dart-frog.dev

A minimalistic Dart backend framework with a built‑in dev server and Docker support.

Quiet but busy
$ flutter pub add dart_frog
Source repository

What it does

Dart Frog provides a lightweight runtime for building HTTP APIs in Dart. It ships with a fast dev server, middleware support, and a simple CLI for project scaffolding and production builds.

AI-written summary of version 1.2.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Building small to medium sized REST APIs in Dart
  • Need a quick dev server with hot reload
  • Deploying to Docker or cloud platforms

Skip it when

  • Creating large, complex enterprise backends that require extensive third‑party integrations
  • Building client‑side applications or mobile UIs

Strengths

  • Fast, minimalistic runtime
  • Built‑in dev server with hot reload
  • CLI generates Dockerfile for easy deployment

Weaknesses

  • Limited ecosystem compared to larger frameworks
  • Not designed for heavy client‑side work
  • Requires Dart SDK

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
7

Run `dart pub global activate dart_frog_cli` then `dart_frog create my_project` and `dart_frog dev` to start the server.

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

Future<Response> onRequest(RequestContext ctx) async {
  return Response(body: 'Hello, world!');
}
```

Alternatives

Packages that do the same job and could replace dart_frog.

  • shelf_router

    A request router for the shelf web-framework with support for URL parameters and nested routers.

  • vania

    A fast backend framework for Dart with routing, ORM, migrations, and middleware.

  • relic_core

    Core framework for Relic web server

  • relic_io

    dart:io adapter for Relic web server.

Works with

Packages commonly used together with dart_frog: ones it builds on, ones built on it, and its own family.