hunt-framework 3.3.16
A high performance full-stack Web framework.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
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.
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
- Registered by zoujiaqing
- 3.3.16 released 2 months ago
- huntlabs/hunt-framework
- www.huntlabs.net
- Apache-2.0
- Copyright (C) 2015-2020, HuntLabs
- Dependencies:
- hunt-shiro, hunt-http, hunt-jwt, poodinis, hunt-cache, hunt-entity, hunt-amqp-client, hunt-console
- Versions:
-
3.4.0-beta.3 2020-Oct-27 3.3.21 2020-Dec-29 3.3.20 2020-Nov-23 3.3.19 2020-Nov-23 3.3.16 2020-Nov-06 - Download Stats:
-
-
0 downloads today
-
6 downloads this week
-
52 downloads this month
-
1763 downloads total
-
- Score:
- 2.7
- Short URL:
- hunt-framework.dub.pm