The current repo belongs to Closed status, and some functions are restricted. For details, please refer to the description of repo status
12 Star 43 Fork 6

HuntLabs / hunt-framework
Closed

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
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. 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

About

A high performance full-stack Web framework written in D programming Language. expand collapse
Cancel

Releases

No release

hunt-framework

Contributors

All

Activities

Load More
can not load any more
D
1
https://git.oschina.net/huntlabs/hunt-framework.git
git@git.oschina.net:huntlabs/hunt-framework.git
huntlabs
hunt-framework
hunt-framework
master

Search