A high performance full-stack Web framework written in D programming Language.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
source/hunt/framework fix session bug Sep 11, 2018
.gitignore Session updated May 17, 2018
.travis.yml Update .travis.yml May 29, 2018
README.md hunt to hunt.framework Sep 6, 2018
dub.json add empty config. Sep 11, 2018

README.md

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

Start read hunt framework wiki for documents.

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

Controller example

module app.controller.index;

import hunt.framework;

class IndexController : Controller
{
    mixin MakeController;

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

View hunt-skeleton example project source code.

Component based

  1. Routing
  2. Caching
  3. Middleware
  4. Configuration
  5. Validation
  6. Entity & Repository
  7. Template Engine
  8. Task Worker
  9. Security

Community

QQ Group: 184183224

Github