Boilerplate for REST Api with automatic JSON to HTML presentation layer. Based on Plack.
Use any Plack compliant web server.
starman web/server.psgi
- make a module with GET, POST, DELETE subs
- map URL to this module in config.yaml
- make a module with
do
sub which accepts a perl variable (hash) - map JSON path to this module in config.yaml
Parts of this project are clean room implementations of ideas seen elsewhere.
- jQuery
- Bootstrap
- Perl and CPAN