vibrance-z ~master

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:web
Versions:
0.3.2 2024-Oct-13
0.3.1 2023-Jul-07
0.3.0 2023-Jul-02
0.2.3 2022-Nov-06
0.2.2 2022-Nov-06
Show all 7 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 75 downloads total

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