Skip to content

totheralistair/SmallerWebHexagon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •