Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

istyle-inc/example-hack-core-layer

Repository files navigation

hack-core-layer

Independent core layer pattern with HHVM/Hack

独立したコアレイヤパターン

built on HHVM/Hack WebFramework Nazg

install

$ hhvm -d xdebug.enable=0 -d hhvm.jit=0 -d hhvm.php7.all=1\
 -d hhvm.hack.lang.auto_typecheck=0 $(which composer) install

for vagrant

$ vagrant up

usage

get account

$ curl -H 'Content-Type: application/json' http://192.168.10.10/accounts/A00001 | jq .
{
  "account_number": "A00001",
  "balance": 3000
}

Releases

No releases published

Packages

No packages published

Languages