A simple model based GraphQL API configurator written in Python and based of Django
Project description
Plug & Play GraphQL (pnp-graphql) v0.0.1-beta
A library for making GraphQL API with Python/Django. This is like a flash drive, just how you plug into computer and transfer files.
Quick Start
Ducumentation is coming soon...
- Install from pip
pip install pnp-graphql
- Add PnP GraphQL config on settings.
GRAPHENE = {
'SCHEMA': 'pnp_graphql.schema.schema'
}
PNP_GRAPHQL = {
'ENABLED_APPS': ['example_app']
}
- Set
DEBUG = False
for production use.
That's it :)
Now visit: http://your-ip:port/api/graphql-explorer/ for explore GraphQL built-in UI explorer for query.
Production ready API : http://your-ip:port/api/graphql/
What's working?
- GraphQL query
- Mutation (Create, Update, Delete)
- Pagination
- API filtering for Number, String, Date, DateTime
What are the plans?
- Authentication
- Proper error handling
- Field validation
- Caching
- many more ... ... ...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pnp-graphql-0.0.1b0.tar.gz
(8.3 kB
view hashes)