Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@saraiva132
Copy link
Contributor

So I wanted to try out how well one can write a production ready microservice using ZIO and current ecosystem.

Code is pretty much done but will see some improvements over time (integration with tranzactio to also show how to combine several db effects in one transaction, but especially documentation). After writing it I noticed there are some example that are somewhat similar in libraries but mine goes a bit further by:

  • Having unit tests with properly mocked dependencies with zio-mock
  • Having integration tests with some maybe interesting things going on
  • Full blown microservice with proper client error handling / healthcheck etc
  • Full usage of tapir (ztapir) and sttp (integration with third-party http service).
  • zio-logging

Let me know your thoughts. And feedback. :)))

So I wanted to try out how well one can write a production ready microservice using ZIO and current ecosystem. 

Code is pretty much done but will see some improvements over time (integration with tranzactio to also show how to combine several db effects in one transaction, but especially documentation). After writing it I noticed there are some example that are somewhat similar in libraries but mine goes a bit further by:

- Having unit tests with properly mocked dependencies with zio-mock
- Having integration tests with some maybe interesting things going on 
- Full blown microservice with proper client error handling / healthcheck etc 
- Full usage of tapir (ztapir) and sttp (integration with third-party http service). 
- zio-logging

Let me know your thoughts. And feedback. :)))
Copy link
Contributor

@adamgfraser adamgfraser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding!

@adamgfraser adamgfraser merged commit feae26f into zio:master May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants