当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
12 Star 42 Fork 6

HuntLabs / hunt-framework
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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. Framework

Getting Started

Create a 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

Add Controller

module app.controller.index;

import hunt.framework;

class IndexController : Controller
{
    mixin MakeController;

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

For more, see hunt-skeleton or hunt-examples.

Components

Basics

Security

Database

Frontend

Digging Deeper

Resources

Community

空文件

简介

A high performance full-stack Web framework written in D programming Language. 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
D
1
https://gitee.com/huntlabs/hunt-framework.git
git@gitee.com:huntlabs/hunt-framework.git
huntlabs
hunt-framework
hunt-framework
master

搜索帮助

14c37bed 8189591 565d56ea 8189591