Skip to content

omarzl/the_composable_architecture_with_bazel

Repository files navigation

The Composable Architecture tutorial with Bazel

This project is the resulting code of the tutorial from The Composable Architecture.

But compiling it with Bazel.

SPM

To download the packages and generate Bazel targets, I used the rules from rules_swift_package_manager.

How to run it?

1.- If you don't have Bazelisk installed, run: brew install bazelisk

2.- Then, you can create the Xcode project by running: bazel run //:xcodeproj

3.- Finally, just open the project xed App.xcodeproj

The App target runs the app, and the UnitTests target runs the tests.

Modularization

I modularized the original tutorial into multiple Bazel targets:

  • AddContactFeature
  • ContactDetailFeature
  • ContactFoundation
  • ContactListFeature
  • CounterFeature

About

The Composable Architecture (TCA) with Bazel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published