-
-
02 Feb 2019 20:44:32 UTC
- Distribution: PONAPI-Server
- Module version: 0.003003
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (1)
- Testers (265 / 22 / 11)
- Kwalitee
Bus factor: 2- 89.47% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (75.12KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- App::Cmd::Setup
- DBD::SQLite
- DBI
- File::Path
- HTTP::Headers::ActionPack
- JSON::MaybeXS
- Module::Runtime
- Moose
- PONAPI::Document
- PONAPI::Names
- PONAPI::Tools
- Path::Class
- Plack
- Plack::Middleware::MethodOverride
- Pod::Perldoc
- YAML::XS
- parent
- strict
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
PONAPI::Server - PONAPI - Perl implementation of {JSON:API} (http://jsonapi.org/) v1.0
VERSION
version 0.003003
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) 2019 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.
Module Install Instructions
To install PONAPI::Server, copy and paste the appropriate command in to your terminal.
cpanm PONAPI::Server
perl -MCPAN -e shell install PONAPI::Server
For more information on module installation, please visit the detailed CPAN module installation guide.