Coder Social home page Coder Social logo

json-api's Introduction

Build Status

cloudcreativity/json-api

This repository extends neomerx/json-api, adding in several additional framework-agnostic features. These are:

  1. Apis: JSON API configuration on a per-API basis, to support applications having many JSON APIs (e.g. version controlled for public facing APIs) each with different settings.
  2. Store: Maps JSON API identifiers to specific models/entities, and translates query parameters into queries for models/entities.
  3. Hydrators: Handles the transfer of data from JSON API resources representations into models/entities.
  4. Validators: A full suite of validators for validating JSON API documents (HTTP request body content) and returning JSON API errors.
  5. Errors: Mutable errors allow JSON API errors to be added to via your application stack and construction from arrays.

For a framework specific implementation, see cloudcreativity/laravel-json-api

Status

This repository is under active development, but is in use in production applications. We are currently on a path to v1.0.0 and should hit that soon.

License

Apache License (Version 2.0). Please see License File for more information.

Contributions

Contributions are absolutely welcome. Ideally submit a pull request, even more ideally with unit tests. Please note the following:

  • Bug Fixes - submit a pull request against the master branch.
  • Enhancements / New Features - submit a pull request against the develop branch.

We'd recommend submitting an issue before taking the time to put together a pull request!

json-api's People

Contributors

gregpeden avatar lindyhopchris avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.