Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A fast, minimalistic backend framework for Dart 🎯

License

NotificationsYou must be signed in to change notification settings

dart-frog-dev/dart_frog

Dart Frog LogoDart Frog Logo

discorddart

cicoveragestyle: dart frog lintLicense: MITPowered by Mason

A fast, minimalistic backend framework for Dart 🎯

Originally developed byVery Good Ventures 🦄

Documentation 📝

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

Packages 📦

PackagePub
dart_frogpub package
dart_frog_authpub package
dart_frog_clipub package
dart_frog_genpub package
dart_frog_lintpub package
dart_frog_testpub package
dart_frog_web_socketpub package

Quick Start 🚀

Prerequisites 📝

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

Installing 🧑‍💻

# 📦 Install the dart_frog cli from pub.devdart pub global activate dart_frog_cli

Creating a Project ✨

Use thedart_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 serverdart_frog dev

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

Create a Production Build 📦

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

# 📦 Create a production builddart_frog build

Create New Routes and Middleware 🛣️

To add new routes and middleware to your project, use thedart_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 ofshelf andmason and is inspired by many tools includingremix.run,next.js, andexpress.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.

[8]ページ先頭

©2009-2025 Movatter.jp