Skip to content

Releases: serverlesspub/sample-ts-app-for-testing-course

Apply hexagonal architecture

25 Jun 19:25
Compare
Choose a tag to compare

This commit applies hexagonal architecture to our app. We have two adapters that can we can share between multiple functions and the main business logic that is easier to test.

There are comments in the code. Please take a look at them for more details about the implementation. There are no tests in this version. We'll add unit tests in the next commit.

Unit tests for the initial sample app

25 Jun 14:50
Compare
Choose a tag to compare

This version adds unit tests. They are not the best unit tests ever, but the standard tests with many mocks, similar to what we see in many applications. The test file contains detailed comments for everything we did.

The sample app code without hexagonal architecture and test

24 Jun 13:01
Compare
Choose a tag to compare

This commit represents a sample application without hexagonal architecture and tests.