Hunt is a high-level dlang Web framework that encourages rapid development and clean, pragmatic design. It lets you build high-performance Web applications quickly and easily.
git clone https://github.com/putaolabs/hunt-skeleton.git myproject
cd myproject
dub runOpen the URL with the browser:
http://localhost:8080/config/routes
#
# [GET,POST,PUT...] path controller.action
#
GET / index.index
[domain=bbs.putao.com@web]
#only request path http://bbs.putao.com/user/show
GET /user/show user.show
#request path http://any-domain/api/user/show
[path=api@apidir]
GET /user/show user.show