Conduit is a fork of Stablekernel's Aqueduct, a modern Dart HTTP server framework.
Getting Started
- Install Dart.
- Activate Conduit.
dart pub global activate conduit
- Create a new project.
conduit create my_project
- 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.
- Install Melos:
dart pub global activate melos
- Bootstrap the project:
melos bootstrap
- 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 💻 |
neterror 💻 |
Luis 💻 |
Artem Semirenko 🐛 💻 |
Dmytro Prylutskyi 💻 |
Libraries
- aot
- Mirror-free entrypoint for
package:conduit_core. - conduit_core
- The core libraries of the Conduit framework.
- dev
- Dev/JIT-only entrypoint for
package:conduit_core. - managed_auth
- Library for implementing OAuth 2.0 storage using ManagedObjects.