패키지, 저장소 및 앱 카테고리 검색

패키지 상세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 및 서버리스 함수 구축에 적합하며, 안드로이드, iOS, macOS, Windows, 리눅스 등 여러 플랫폼에서 실행 가능해 현대적인 백엔드 개발에 매우 유연합니다.

사용 사례

  • RESTful API 구축
  • 서버리스 함수 만들기
  • 실시간 백엔드 서비스 개발
  • Flutter 앱과의 통합
  • 마이크로서비스 아키텍처
  • 풀스택 Dart 애플리케이션

주요 기능

  • 경량이고 빠른 런타임
  • 내장 미들웨어 지원
  • 모듈러 라우팅 처리
  • 크로스 플랫폼 호환성
  • Dart 생태계와의 원활한 통합
  • 간편한 배포 옵션

적합한 대상

  • 경량 백엔드를 찾는 Dart 개발자
  • 전체 스택 Dart 솔루션을 구축하는 팀
  • 고성능 API가 필요한 프로젝트
  • 서버리스 함수 배포
  • 빠른 백엔드 개발을 우선시하는 스타트업

고려 사항

  • 더 큰 프레임워크에 비해 커뮤니티 규모가 제한적
  • 계속 진화 중이며, 제3자 플러그인은 적음
  • 기존에 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.

순위