MIT License

项目介绍

dart-frog-dev/dart_frog 是一个托管在 GitHub 上的开源项目,主要使用 Dart 编写,采用 MIT License 许可证,目前获得 2.3k 个 Star、184 次 Fork。

仓库全名
dart-frog-dev/dart_frog
开源许可证
MIT License
Star 数
2.3k
Fork 数
184
未关闭 Issue
103

README 摘要

A fast, minimalistic backend framework for Dart 🎯 [Originally developed][creditslink] by [Very Good Ventures][verygoodventureslink] 🦄 Documentation 📝 For official documentation, please visit https://dart-frog.dev. Packages 📦 Package | Pub | Quick Start 🚀 Prerequisites 📝 In order to use Dart Frog you must have the [Dart SDK][dartinstallationlink] installed on your machine. Installing 🧑‍💻 Creating a Project ✨…

完整内容见 GitHub 原始 README 或本页 。

常见问题

dart_frog 用什么语言开发?

主要使用 Dart 编写,采用 MIT License 许可证,目前有 2.3k 个 Star。

dart_frog 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 dart_frog 的源码?

可以直接克隆仓库:git clone https://github.com/dart-frog-dev/dart_frog.git,默认分支为 main;安装与运行步骤见仓库 README。

dart_frog 最近还在维护吗?

仓库最近一次更新为 6 天前,当前有 103 个未关闭 Issue;Star 数为 2.3k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A fast, minimalistic backend framework for Dart 🎯

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
2672
价值分
1417
活跃状态
活跃

语言占比

Dart
JavaScript
Shell
TypeScript

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.

评论

暂无评论