vibrance-z 0.2.3

A light web framework that works on top of vibe.d.


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:

vibrance-z

a revival of vibrant.d

overview

vibrant.d is a light routing framework that mimicks the style of frameworks like Sinatra and Spark.

a simple example

with (vib) {
    Get("/hello", (req, res) => "Hello World!");

    Before("/hello/:name", (req, res) {
        if (req.params["name"] == "Jack") {
            halt("Don't come back.");
        }
    });

    Get("/hello/:name", (req, res) =>
            "Hello " ~ req.params["name"]
    );
}

demo

see hello demo for a demo showing off some features.

Authors:
  • Mihail K
  • redthing1
Dependencies:
vibe-d, dquery
Versions:
0.2.3 2022-Nov-06
0.2.2 2022-Nov-06
0.2.1 2022-Nov-06
~master 2022-Nov-06
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 19 downloads this month

  • 19 downloads total

Score:
0.7
Short URL:
vibrance-z.dub.pm