On Friday, 14 April 2023 at 17:06:36 UTC, Vino wrote:
I was just trying the new package vibe.db.postgresql and the example provided is not working, can some one provide me an working example.

Step performed
```
dub init
dub add vibe-d-postgresql
copy the example program to source/app.d
dub run
```

I would like to draw your attention to this point:

```d
#!/usr/bin/env dub
/+ dub.sdl:
dependency "vibe-d" version="~>0.9.0"
+/
void main()
{
    import vibe.d;
    listenHTTP(":8080", (req, res) {
        res.writeBody("Hello, World: " ~ req.path);
    });
    runApplication();
}
```

Do you have a working vibe app?

SDB@79

Reply via email to