++ed by:
BLHOTSKY ROMANF

2 PAUSE users
2 non-PAUSE users.

Mickey Nasriachi
and 4 contributors

NAME

PONAPI::Server - PONAPI - Perl implementation of {JSON:API} (http://jsonapi.org/) v1.0

VERSION

version 0.003001

SYNOPSIS

    # Run the server
    $ plackup -MPONAPI::Server -e 'PONAPI::Server->new("repository.class" => "Test::PONAPI::Repository::MockDB")->to_app'

    $ perl -MPONAPI::Client -E 'say Dumper(PONAPI::Client->new->retrieve(type => "people", id => 88))'

    # Or with cURL:
    $ curl -X GET -H "Content-Type: application/vnd.api+json" 'http://0:5000/people/88'

DESCRIPTION

PONAPI::Server is a small plack server that implements the {json:api} specification.

You'll have to set up a repository (to provide access to the data you want to serve) and tweak some server configurations, so hop over to PONAPI::Manual for the next steps!

BUGS, CONTACT AND SUPPORT

For reporting bugs or submitting patches, please use the github bug tracker at https://github.com/mickeyn/PONAPI.

AUTHORS

  • Mickey Nasriachi <mickey@cpan.org>

  • Stevan Little <stevan@cpan.org>

  • Brian Fraser <hugmeir@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Mickey Nasriachi, Stevan Little, Brian Fraser.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.