パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.2.6

dart_frog

Dart Frog の公式ランタイム — Dart を対象とした高速でミニマルなバックエンドフレームワーク。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
23.7万
いいね数
864
Pub ポイント
160

パッケージをインストール

flutter pub add dart_frog

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Dart Frog は、Dart で構築された高速でミニマルなバックエンドフレームワークの公式ランタイムです。高いパフォーマンスとシンプルさを意識して設計されており、クリーンでモジュール化されたコードでスケーラブルなサーバーサイドアプリケーションを開発できるようにします。このフレームワークは、直感的なルーティング、ミドルウェアサポート、およびDartエコシステムとのシームレスな統合を通じて開発者の体験を重視しています。APIやサーバーレス関数の構築に最適であり、Android、iOS、macOS、Windows、Linuxなど複数のプラットフォームで動作するため、現代のバックエンド開発に非常に柔軟です。

用途

  • RESTful API の構築
  • サーバーレス関数の作成
  • リアルタイムバックエンドサービスの開発
  • Flutterアプリとの統合
  • マイクロサービスアーキテクチャ
  • フルスタックDartアプリケーション

主な機能

  • 軽量で高速な実行時環境
  • 組み込みミドルウェアのサポート
  • モジュール化されたルート処理
  • クロスプラットフォーム互換性
  • Dartエコシステムへのスムーズな統合
  • 簡単なデプロイオプション

適している対象

  • 軽量なバックエンドを探しているDart開発者
  • フルスタックDartソリューションを構築するチーム
  • 高パフォーマンスAPIを必要とするプロジェクト
  • サーバーレス関数のデプロイ
  • 迅速なバックエンド開発を重視するスタートアップ

注意事項

  • より大きなフレームワークと比べてコミュニティが限定的
  • 引き続き進化中で、サードパーティプラグインが少ない
  • Dart をすでに使用しているプロジェクトに最適
  • Dart構文および非同期プログラミングに精通している必要があります
  • 企業規模の統合におけるエコシステムがまだ成熟していない

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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.

カテゴリー

依存関係

依存関係一覧 7 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。

ランキング