https://github.com/masipcat/guillotina_graphql
https://github.com/masipcat/guillotina_graphql
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/masipcat/guillotina_graphql
- Owner: masipcat
- License: mit
- Created: 2020-09-26T22:48:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-27T21:11:24.000Z (over 4 years ago)
- Last Synced: 2025-04-11T18:57:20.774Z (about 2 months ago)
- Language: Python
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# guillotina_graphql
## Dependencies
Python >= 3.7
Guillotina >= 6.0.0
## Installation
> **Warning:** you need to use a postgres database and have enabled `guillotina.contrib.catalog.pg`
0. Install the plugin:
```bash
pip install guillotina_graphql
```1. Add `guillotina_graphql` to your settings
```yaml
applications:
- your_app
- guillotina_graphql
- guillotina.contrib.catalog.pg
```and optionally:
```yaml
graphql:
enable_playground: true
```2. You're ready!
## Start using GraphQL
This is the route to the GraphQL endpoint: `http://localhost:8080///@graphql` (needs authentification with permission AccessContent).
You can use the playground on a browser http://localhost:8080/@graphql-playground