Search packages, repositories and app categories

Package detailsv1.2.6

dart_frog

The official runtime for Dart Frog — a fast, minimalistic backend framework for Dart.

AndroidiOSmacOSWindowsLinux
30-day downloads
237K
Likes
864
Pub points
160

Install package

flutter pub add dart_frog

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Dart Frog is the official runtime for a fast, minimalistic backend framework built with Dart. Designed for high performance and simplicity, it enables developers to create scalable server-side applications with clean, modular code. The framework emphasizes developer experience through intuitive routing, middleware support, and seamless integration with Dart's ecosystem. Ideal for building APIs and serverless functions, Dart Frog runs across multiple platforms including Android, iOS, macOS, Windows, and Linux, making it versatile for modern backend development.

Use cases

  • Building RESTful APIs
  • Creating serverless functions
  • Developing real-time backend services
  • Integrating with Flutter apps
  • Microservices architecture
  • Full-stack Dart applications

Key features

  • Lightweight and fast runtime
  • Built-in middleware support
  • Modular route handling
  • Cross-platform compatibility
  • Seamless Dart ecosystem integration
  • Easy deployment options

Suitable for

  • Dart developers seeking a lightweight backend
  • Teams building full-stack Dart solutions
  • Projects requiring high-performance APIs
  • Serverless function deployments
  • Startups prioritizing rapid backend development

Considerations

  • Limited community compared to larger frameworks
  • Still evolving with fewer third-party plugins
  • Best suited for projects already using Dart
  • Requires familiarity with Dart syntax and async programming
  • Less mature ecosystem for enterprise-scale integrations

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Dart Frog Logo Dart Frog Logo

discord dart

ci coverage style: dart frog lint License: MIT Powered by Mason

A fast, minimalistic backend framework for Dart 🎯

Originally developed by Very Good Ventures 🦄

Documentation 📝

For official documentation, please visit https://dart-frog.dev.

Packages 📦

Package Pub
dart_frog pub package
dart_frog_auth pub package
dart_frog_cli pub package
dart_frog_gen pub package
dart_frog_lint pub package
dart_frog_test pub package
dart_frog_web_socket pub package

Quick Start 🚀

Prerequisites 📝

In order to use Dart Frog you must have the Dart SDK installed on your machine.

Installing 🧑‍💻
# 📦 Install the dart_frog cli from pub.dev
dart pub global activate dart_frog_cli
Creating a Project ✨

Use the dart_frog create command to create a new project.

# 🚀 Create a new project called "my_project"
dart_frog create my_project
Start the Dev Server 🏁

Next, open the newly created project and start the dev server via:

# 🏁 Start the dev server
dart_frog dev

💡 Tip: By default port 8080 is used. A custom port can be used via the --port option.

Create a Production Build 📦

Create a production build which includes a DockerFile so that you can deploy anywhere:

# 📦 Create a production build
dart_frog build
Create New Routes and Middleware 🛣️

To add new routes and middleware to your project, use the dart_frog new command.

# 🛣️ Create a new route "/hello/world"
dart_frog new route "/hello/world"

# 🛣️ Create a new middleware for the route "/hello/world"
dart_frog new middleware "/hello/world"

Goals 🎯

Dart Frog is built on top of shelf and mason and is inspired by many tools including remix.run, next.js, and express.js.

The goal of Dart Frog is to help developers effectively build backends in Dart. Currently, Dart Frog is focused on optimizing the process of building backends which aggregate, compose, and normalize data from multiple sources.

Dart Frog provides a simple core with a small API surface area in order to reduce the learning curve and ramp-up time for developers. In addition, Dart Frog is intended to help Flutter/Dart developers maximize their productivity by having a unified tech stack that enables sharing tooling, models, and more!

Extensions 💻

  • VSCode: extends VSCode with support for Dart Frog and provides tools for effectively managing Dart Frog projects within VSCode.

Categories

Dependencies

Dependency list 7 items

Source repository

Projects using this package

No data available yet.

Rankings