Skip to content

simple hexagonal architecture implementation on kotlin lang

Notifications You must be signed in to change notification settings

firatpayalan/hexshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexagonal architecture based e-commerce example

demonstration of hexagonal architecture sample in kotlin lang

Description

Primary motivation of hexagonal architecture is decoupling components to manage your business more precisely. In this example, the simple e-commerce-themed application has been built in Kotlin w/spring boot.

Getting Started

  • application; might be your communication layer.

  • domain; all of your business can be executed at here.

    • entity; plain objects/data in which represents your business
    • interaction; to orchestrate your business flows. mostly includes implementations.
    • port; contracts for your business rules. for example; add item, search user
    • repository; I/O layer for your domain. this can be your database or any kind of rpc endpoint.
  • infrastructure; technical details either executing your business or maintaining your application. for example; configuration management, database/message queue settings codes

Authors

@firatpayalan

Acknowledgments

Inspiration, code snippets, etc.

About

simple hexagonal architecture implementation on kotlin lang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages