Hi!

2015-09-11 3:56 GMT+03:00 Ken Peng <[email protected]>:

> Since we use RESTful API for backend, can you tell me how to let Dancer
> generate the standard RESTful interface automatically?

I recently discovered a pretty new module WebAPI::DBIC
https://metacpan.org/pod/WebAPI::DBIC

You can easily build PSGI app with it which is capable on the fly to
render your DBIx::Class Schema into fully RESTful/Hypermedia API.

It glues together 3 wonderful modules (Plack, Path::Router and
Web::Machine, not to mention DBIx::Class) and the result is worth
looking. I am really impressed. I think it is worth looking if anyone
needs to build a new API.

To use it as a part of your Dancer2 app should not be a big deal.

Wbr,
-- 
Kõike hääd,

Gunnar
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to