conduit
一个现代的 HTTP 服务器应用框架、ORM 和 OAuth2 提供者,集成 OpenAPI 3.0。适用于 REST、RPC 或 GraphQL 服务的基础架构。
用于构建 REST API 的 Dart HTTP 服务器框架。包含 PostgreSQL ORM 和 OAuth2 提供程序。
以下为英文项目原文快照,最新内容请访问 GitHub。
Conduit is a fork of Stablekernel's Aqueduct, a modern Dart HTTP server framework.
dart pub global activate conduit
conduit create my_project
cd my_project
conduit serve
If you want to contribute to Conduit or build it from source, you will need Melos.
dart pub global activate melos
melos bootstrap
[!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
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.
j4qfrost 💻 |
neterror 💻 |
Luis 💻 |
Artem Semirenko 🐛 💻 |
Dmytro Prylutskyi 💻 |
依赖清单 1 项
^7.7.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗