Simple REST API database backend implemented with Plack and DBIx::Class.
For more details, see Hyle.
# hyle.pl --dsn "dbi:SQLite:dbname=/home/user/some_database.sqlite3" # HTTP::Server::PSGI: Accepting connections at http://0:5000/ # ...
This script uses Plack::Runner internally and therefore also accepts all parameters that plackup accepts.
To install Hyle, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hyle
CPAN shell
perl -MCPAN -e shell install Hyle
For more information on module installation, please visit the detailed CPAN module installation guide.