Skip to content

RESTful APIs creator based on resource schematics.

License

Notifications You must be signed in to change notification settings

lucasdavid/grapher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages