PolysemyCleanArchitecture
Showcasing how the Polysemy library can be used to implement a REST application conforming to the guidelines of the Clean Architecture model. (by thma)
todo-api-microservice-example
Go microservice tutorial project using Domain Driven Design and Onion Architecture! (by MarioCarrion)
PolysemyCleanArchitecture | todo-api-microservice-example | |
---|---|---|
4 | 17 | |
186 | 973 | |
- | - | |
0.0 | 8.6 | |
5 months ago | 6 days ago | |
Haskell | Go | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PolysemyCleanArchitecture
Posts with mentions or reviews of PolysemyCleanArchitecture.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-05.
-
What is the best web framework in the statically typed functional programming world?
Another benefit of its architecture is that it was easy to plug an algebraic effects library on it (Implementing Clean Architecture with Haskell and Polysemy).
-
While Learning Haskell Developing Project
since i am self learner im lost at haskell world. i need to direction start coding while learning haskell. i did google and find this project https://github.com/thma/PolysemyCleanArchitecture is it good? is it ultimate haskell project? need opinion before i spend my months to learn.
- effectful and polysemy users: How do you test? Any of "same as mtl", "novel ways enabled by effects", or "same but more efficiently because..."? Please share experiences
-
Real world applications with tagless-final, ReaderT, and three-layers
Nice article! Definitely check out this related blog post: https://github.com/thma/PolysemyCleanArchitecture
todo-api-microservice-example
Posts with mentions or reviews of todo-api-microservice-example.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-19.
-
While Learning Haskell Developing Project
Hello guys im a self teach coder. im working with golang atm because this great project speed up my learning curve: https://github.com/MarioCarrion/todo-api-microservice-example
-
Open source projects to look at for best practices?
With that being said, if you're looking for something friendlier, I share my own educational repo, still a WIP but it should help you with the basics.
-
Is there a standard file in Golang from which packages could be installed? Yes, I am aware about go.mod, but hear me out.
internal/tools and
-
Hexagonal architecture and mocking
You are going to need to add a domain package where the Beer type and all the logic associated to that type is defined to avoid the cyclical dependency. I typically follow this approach by using internal as the domain package that then other packages like services, data stores or transport use.
- Working with microservices in a monorepo
-
DDD file structure & cyclic dependencies
Here's my approach; a few worth-mentioning packages in there: * service defines the use cases, it's a glue between the domain model and repositories. * rest defines the http handlers uses the service types via dependency injection (see main.go) * postgresql concrete repository example (there are other implementations for other data stores like kafka, redis, etcetera.
-
Example of a well written and structured RESTful API or web service?
Other redditors mentioned some good resources, I'm going to shamelessly plug mine as well; either way after you are done with whatever tutorial you use I recommend you to look at the Exposure Notifications Server, reading the source code should help you learn other best practices.
-
Golang for backend
One word of advise I can give you is that building a production-grade microservice in Go takes a bit; not because of the language but because you have consider the tradeoffs when choosing different packages to connect everything to make it work (because there's no Django, Ruby on Rails or Spring), I have an educational repository (still work in progress) trying to describe what I've learned from the last 5 years after successfully deploying multiple services to production where multiple engineers contribute and collaborate together; perhaps that could help you.
-
How to avoid "import cycle not allowed" when defining related models in different packages?
With all of that being said I have an educational repository demonstrating this structure, I've been using it in real life for about 5 years already and I've successfully delivered services to production multiple times where multiple engineers contribute and collaborate together.
-
Good example of production grade rest api without an ORM
You may want to checkout the "Exposure Notifications Server" project; I also have a similar (educational) project that uses the Repository Pattern.