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

패키지 상세v1.2.14

dart_frog_cli

Dart Frog의 공식 명령줄 인터페이스 — Dart용 빠르고 최소한의 백엔드 프레임워크입니다.

macOSWindowsLinux
30일 다운로드
2.2만
좋아요
61
Pub 점수
150

패키지 설치

flutter pub add dart_frog_cli

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Dart Frog CLI는 Dart를 위한 빠르고 최소한의 백엔드 프레임워크인 Dart Frog의 공식 명령줄 도구입니다. 직관적인 명령어를 통해 서버 사이드 애플리케이션의 생성, 개발 및 배포를 간편하게 만듭니다. 단순성과 성능을 고려해 설계되었으며, Dart 생태계와 원활하게 통합되며 macOS, Windows, Linux에서 크로스플랫폼 개발을 지원합니다. CLI는 개발자가 프로젝트를 빠르게 스크래핑하고 로컬 서버를 실행하며 구성 설정을 효율적으로 관리할 수 있도록 합니다.

사용 사례

  • RESTful API 구축
  • 서버리스 함수 만들기
  • 경량 백엔드 서비스 개발
  • 로컬 개발 서버 실행 중
  • 클라우드 플랫폼에 애플리케이션 배포하기

주요 기능

  • 빠른 프로젝트 템플릿
  • 내장 개발 서버
  • 크로스 플랫폼 지원
  • 최소 구성
  • Dart Frog 프레임워크와의 원활한 통합

적합한 대상

  • Dart 개발자가 백엔드를 구축하고 있습니다
  • 경량 서버 프레임워크를 찾는 팀
  • 고성능이 필요한 프로젝트
  • 풀스택 Dart 애플리케이션
  • 서버리스 또는 엣지 컴퓨팅 배포

고려 사항

  • Dart SDK 2.17 이상이 필요합니다
  • Dart 기반 백엔드 워크플로우에 제한됨
  • 현대 웹 애플리케이션에 가장 적합
  • 복잡한 기업 시스템에는 적합하지 않음
  • Dart Frog 생태계의 성숙도에 따라 달라짐

원본 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.

카테고리

의존성

의존성 목록 12 개

소스 저장소

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

아직 데이터가 없습니다.