Search packages, repositories and app categories

Package detailsv7.0.0

conduit

A modern HTTP server application framework, ORM and OAuth2 provider with OpenAPI 3.0 integration. Foundation for REST, RPC or GraphQL services.

macOSWindowsLinux
30-day downloads
3K
Likes
176
Pub points
130

Install package

flutter pub add conduit

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Conduit is a modern HTTP server framework for Dart, designed for building REST, RPC, and GraphQL services. It includes an ORM, OAuth2 provider, and native OpenAPI 3.0 integration, enabling rapid development of scalable backend applications. Built with performance and developer experience in mind, Conduit supports cross-platform deployment on macOS, Windows, and Linux. Its modular architecture allows seamless integration of authentication, data modeling, and API documentation.

Use cases

  • Building RESTful APIs
  • Creating GraphQL servers
  • Implementing OAuth2 authentication
  • Generating OpenAPI documentation
  • Developing microservices

Key features

  • Built-in ORM
  • OAuth2 provider
  • OpenAPI 3.0 support
  • Cross-platform compatibility
  • Modular design

Suitable for

  • Backend developers
  • API-first application builders
  • Teams using Dart for server-side code
  • Projects requiring strong API documentation

Considerations

  • Requires familiarity with Dart
  • Limited ecosystem compared to mature frameworks
  • Best suited for new projects rather than legacy migration

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Linux Windows Macos 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

💻

Categories

Dependencies

Dependency list 20 items

Source repository

Projects using this package

No data available yet.