10 Star 30 Fork 4

HuntLabs / hunt-framework

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
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 or hunt-examples.

Components

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

Community

QQ Group: 184183224

Github

For Chinese users

D语言中文社区

Comments ( 0 )

Sign in for post a comment

About

A high performance full-stack Web framework written in D programming Language. spread retract
Cancel

Releases

No release

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
D
1
https://gitee.com/huntlabs/hunt-framework.git
git@gitee.com:huntlabs/hunt-framework.git
huntlabs
hunt-framework
hunt-framework
master

Search