oxid-esales / graphql-catalogue
OXID eSales GraphQL catalogue module
Package info
github.com/OXID-eSales/graphql-catalogue-module
Type:oxideshop-module
pkg:composer/oxid-esales/graphql-catalogue
Requires
- php: ^7.1
- doctrine/dbal: ^v2.7
- oxid-esales/graphql-base: ^5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16.1
- oxid-esales/oxideshop-ce: ^6.5
- oxid-esales/oxideshop-unified-namespace-generator: ^2.0
- php-parallel-lint/php-parallel-lint: ^1.1
- phpstan/phpstan: ^0.12.26
- phpunit/phpunit: ^7.5.20|^8.5|^9
- sensiolabs-de/deptrac-shim: ^0.6.0|^0.8.2
This package is auto-updated.
Last update: 2020-12-15 09:08:13 UTC
README
This module provides GraphQL queries and mutations for the OXID eShop allowing access the catalogue view.
This module is not maintained anymore. Hava a look at new module that have all the functionality of this one and more: https://github.com/OXID-eSales/graphql-storefront-module
Usage
This assumes you have OXID eShop (at least oxid-esales/oxideshop_ce: v6.5.0 component, which is part of the v6.2.0 compilation) up and running.
Install
$ composer require oxid-esales/graphql-catalogue --no-update $ composer update
If you didn't have the oxid-esales/graphql-base module installed, composer will do that for you.
After requiring the module, you need to activate it, either via OXID eShop admin or CLI.
$ ./bin/oe-console oe:module:activate oe_graphql_base $ ./bin/oe-console oe:module:activate oe_graphql_catalogue
How to use
A good starting point is to check the How to use section in the GraphQL Base Module
Testing
Linting, syntax check, static analysis and unit tests
$ composer test
Integration/Acceptance tests
- install this module into a running OXID eShop
- change the
test_config.yml- add
oe/graphql-catalogueto thepartial_module_paths - set
activate_all_modulestotrue
- add
$ ./vendor/bin/runtests
Contributing
You like to contribute? 🙌 AWESOME 🙌
Go and check the contribution guidelines
Build with
License
GPLv3, see LICENSE file.