lucasdavid / grapher

RESTful APIs creator based on resource schematics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grapher

RESTful APIs creator based on resource schematics.

Grapher aims at high speed development of high quality web RESTFul APIs. The idea is to provide a automatic back-end -- just like eve-python -- without sacrificing the possibility of customization -- similar to rest-framework.

A glimpse on how is to design APIs with grapher:

class Book(resources.EntityResource):
    schema = {
        'title': {'type': 'string', 'required': True},
        'isbn': {'type': 'string'}
    }

class Author(resources.EntityResource):
    schema = {
        'name': {'type': 'string', 'required': True}
    }

class Authorship(resources.RelationshipResource):
    origin = Author
    target = Book
    cardinality = Cardinality.many
    schema = {
        'year': {'type': 'integer'}
    }

Documentation and contributing

All documents were moved to our wiki. There, you can find posts about concepts used, tecnical usage and guidelines. Any contributions are more than welcome. Please refer to wiki/contributing and the issues page to see what needs to be done or make your own suggestions.

About

RESTful APIs creator based on resource schematics.

License:MIT License


Languages

Language:Python 100.0%