Skip to content
lucasdavidPublic

About

RESTful APIs creator based on resource schematics.

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

190 Commits

Folders and files

Repository files navigation

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.

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages