• Stars
    star
    1,725
  • Rank 25,938 (Top 0.6 %)
  • Language
    Dart
  • License
    MIT License
  • Created about 2 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A fast, minimalistic backend framework for Dart 🎯

Dart Frog Logo Dart Frog Logo

ci coverage style: very good analysis License: MIT Powered by Mason

A fast, minimalistic backend framework for Dart 🎯

Developed with 💙 by Very Good Ventures 🦄

Documentation 📝

For official documentation, please visit https://dartfrog.vgv.dev.

Packages 📦

Package Pub
dart_frog pub package
dart_frog_gen pub package
dart_frog_cli pub package
dart_frog_web_socket pub package
dart_frog_auth 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 💻

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

More Repositories

1

very_good_cli

A Very Good Command-Line Interface for Dart created by Very Good Ventures 🦄
Dart
2,065
star
2

formz

A unified form representation in Dart used at Very Good Ventures 🦄
Dart
344
star
3

very_good_analysis

Lint rules for Dart and Flutter used internally at Very Good Ventures 🦄
Dart
333
star
4

very_good_workflows

Reusable GitHub workflows used at Very Good Ventures 🦄
CSS
281
star
5

very_good_infinite_list

A Very Good Infinite List Widget created by Very Good Ventures. Great for activity feeds, news feeds, and more. 🦄
Dart
158
star
6

very_good_coverage

GitHub Action which helps enforce code coverage threshold using lcov created by Very Good Ventures 🦄
JavaScript
157
star
7

very_good_core

A Very Good Flutter Starter Project created by the Very Good Ventures Team 🦄
C++
125
star
8

mockingjay

A package that makes it easy to mock, test, and verify navigation in Flutter. Created by Very Good Ventures 🦄
Dart
111
star
9

awesome_dart_frog

An awesome repo with Dart Frog articles, tutorials, plugins, and more! Created by Very Good Ventures.
97
star
10

very_good_flame_game

A Very Good Flutter Starter Flame Game created by the Very Good Ventures Team 🦄
Dart
85
star
11

very_good_performance

Utility on top of the Flutter Driver API that facilitates measuring the performance of your app in an automated way created by Very Good Ventures 🦄
C++
80
star
12

very_good_ranch

A very good Flame game built by Very Good Ventures 🦄
Dart
73
star
13

r13n

Regionalization support for Flutter. Built by Very Good Ventures 🦄
Dart
72
star
14

flutter_web_preloader

A brick that creates a smart web entrypoint for Flutter and preloads any type of asset before starting an app.
HTML
68
star
15

very_good_wear_app

A Very Good Flutter Wear OS App Starter Project created by the Very Good Ventures Team 🦄
Dart
64
star
16

flame_behaviors

An implementation of the behavioral composition pattern for Flame. Built by Very Good Ventures 🦄
Dart
61
star
17

pub_updater

A Dart package which supports checking if a current package is up-to-date.
Dart
54
star
18

cli_completion

Completion functionality for Dart Command-Line Interfaces built using CommandRunner. Built by Very Good Ventures. 🦄
Dart
43
star
19

very_good_flutter_package

A Very Good Flutter Package Template created by the Very Good Ventures Team 🦄
Dart
41
star
20

very_good_dart_cli

A Very Good Dart CLI Template created by the Very Good Ventures Team 🦄
Dart
33
star
21

very_good_flutter_plugin

A Very Good Flutter Federated Plugin created by the Very Good Ventures Team 🦄
Dart
29
star
22

very_good_templates

Collection of open-source templates created and maintained by Very Good Ventures.
Dart
28
star
23

very_good_test_runner

A test runner for Flutter and Dart created by Very Good Ventures 🦄
Dart
17
star
24

very_good_docs_site

A Very Good Documentation Site created by the Very Good Ventures Team 🦄
JavaScript
16
star
25

very_good_dart_package

A Very Good Dart Package Template created by the Very Good Ventures Team 🦄
Dart
14
star
26

very_good_hub

An end-to-end example of Flutter+Dart Frog application, using authentication
Dart
13
star
27

flame_steering_behaviors

Flame behaviors used to organically manage the movement of an entity. Built by Very Good Ventures 🦄
Dart
10
star
28

.github

7
star
29

changelogs

Changelogs for open source tools maintained by Very Good Ventures.
TypeScript
5
star
30

very_good_dictionaries

Custom cspell dictionaries used at Very Good Ventures 🦄
4
star