hunt 1.0.3

A high performance full-stack Web framework.


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

dub.json
dub.sdl

Build Status

Hunt framework

Hunt is a high-level D Programming Language Web framework that encourages rapid development and clean, pragmatic design. It lets you build high-performance Web applications quickly and easily.

Documents

You can read wiki.

Create project

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

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
*       /public         staticDir:public

Controller example

module app.controller.test;

import hunt;

class TestController : Controller
{
    mixin MakeController;

    @Action
    string hello()
    {
        return "Hello world!";
    }
}

View hunt-skeleton example project source code.

Component based

  1. Routing
  2. Caching
  3. Middleware
  4. Configuration
  5. Validation
  6. Entity
  7. Template

Community

QQ Group: 184183224

Facebook

Dependencies:
entity, cache, kiss, collie
Versions:
1.0.3 2018-Jun-12
1.0.2 2018-Jun-07
1.0.1 2018-Jun-05
1.0.0 2018-May-31
1.0.0-beta.2 2018-May-30
Show all 7 versions
Download Stats:
  • 6 downloads today

  • 12 downloads this week

  • 133 downloads this month

  • 1889 downloads total

Score:
3.8
Short URL:
hunt.dub.pm