Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

SmallerWebHexagon

> 编程语言
Open source

Smaller Web Hexagon ========== Illustration of a simple hexagon with one user (left) port and one database (right) port. It simply calculat…

99 stars0 likes2 views
WebsiteGitHub

About

Smaller Web Hexagon ========== Illustration of a simple hexagon with one user (left) port and one database (right) port. It simply calculat…

Smaller Web Hexagon

Illustration of a simple hexagon with one user (left) port and one database (right) port.

It simply calculates the formula:

result = input * rate

e.g.

result = 100 * 1.1 = 110

The user port is connected to either the web or to a test harness, with or without the server adapter.

The database port looks up the rate in a database, either in-the-code database, or from a file.

The startup decides how the wiring goes.

Running the Application

Run rackup config.ru to get the web UI on port 9292

Running Tests

  • Enter test folder
  • Run ruby test_smaller_web_hexagon.rb

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Ruby

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言