FLUTTER ECOSYSTEM

conduit-dart/conduit

用於建立 REST API 的 Dart HTTP 伺服器框架。包含 PostgreSQL ORM 與 OAuth2 提供者。

conduit 專案封面
Stars
466
Forks
44
最近推送(UTC)
2026年8月9日
專案狀態
未封存
Conduit GitHub avatar
GITHUB Organization

Conduit ↗

語言DartShellJavaScriptNixPythonHTML

技術主題

此儲存庫發佈的套件

使用的依賴

依賴清單 1 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README
https://raw.githubusercontent.com/conduit-dart/conduit/master/assets/conduit-name.svg

Linux Windows Macos https://discord.com/assets/3437c10597c1526c3dbd98c737c2bcae.svg melos

Conduit is a fork of Stablekernel's Aqueduct, a modern Dart HTTP server framework.

Getting Started

  1. Install Dart.
  2. Activate Conduit.
dart pub global activate conduit
  1. Create a new project.
conduit create my_project
  1. Serve the project.
cd my_project
conduit serve

Building from Source

If you want to contribute to Conduit or build it from source, you will need Melos.

  1. Install Melos:
dart pub global activate melos
  1. Bootstrap the project:
melos bootstrap
  1. Run tests:

[!IMPORTANT] Tests require a running PostgreSQL instance and specific environment variables. You can start the database using Docker: docker-compose -f ci/docker-compose.yaml up -d

export POSTGRES_USER=conduit_test_user
export POSTGRES_PASSWORD=conduit!
export POSTGRES_DB=conduit_test_db
export POSTGRES_PORT=15432
export POSTGRES_HOST=localhost

melos run test-unit

Tutorials, Documentation and Examples

We are currently in the process of collating helpful resources for your edification. Our main docs live here.

Conduit is a close fork to Aqueduct, so Aqueduct examples can be tweaked to work with Conduit here. The major concern is updating the code to use null-safety.

Contributors

j4qfrost
j4qfrost

💻
neterror
neterror

💻
Luis
Luis

💻
Artem Semirenko
Artem Semirenko

🐛 💻
Dmytro Prylutskyi
Dmytro Prylutskyi

💻