Description

A high performance full-stack Web framework.

Package Information

Version0.6.0-beta1 (2017-Feb-21)
Repositoryhttps://github.com/huntlabs/hunt
LicenseApache-2.0
CopyrightCopyright (C) 2015-2016 Shanghai Putao Technology Co., Ltd
Registered byBrian Zou
Dependencies

collie

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

Hunt framework

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.

Create project

git clone https://github.com/putaolabs/hunt-skeleton.git myproject
cd myproject
dub run

Open the URL with the browser:

http://localhost:8080/

Router config

config/routes

#
# [GET,POST,PUT...]    path    controller.action
#

GET		/				index.index
GET		/users			user.list
POST	/user/login		user.login
GET		/user/show		user.info

Available versions

0.6.0-beta1 0.5.1 0.5.0 0.5.0-b9 0.5.0-b8 0.5.0-b7 0.5.0-b6 0.5.0-b4 0.5.0-b3 0.5.0-b2 0.5.0-b10 0.5.0-b1 0.4.3 0.4.2 0.4.1 0.4.0 0.4.0-b1 0.3.6 0.3.5 0.3.4 0.3.3 0.3.2 0.3.1 0.3.0 0.2.11 0.2.10 0.2.9 0.2.8 0.2.7 0.2.6 0.2.5 0.2.4 0.2.3 0.2.2 0.2.1 0.2.0 0.1.3 0.1.2 0.1.1 0.0.6 0.0.5 0.0.4 0.0.3 0.0.2 0.0.1 ~master ~v3.x ~v0.5.x ~v.4.x ~experimental ~dev