OXID-eSales / graphql-catalogue-module

This module provides GraphQL queries and mutations for the OXID eShop allowing access to: Manufacturers and vendors, Categories Products and their attributes Reviews Ratings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oxid-esales/graphql-catalogue

Build Status PHP Version Stable Version

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-catalogue to the partial_module_paths
    • set activate_all_modules to true
$ ./vendor/bin/runtests

Contributing

You like to contribute? 🙌 AWESOME 🙌
Go and check the contribution guidelines

Build with

License

GPLv3, see LICENSE file.

About

This module provides GraphQL queries and mutations for the OXID eShop allowing access to: Manufacturers and vendors, Categories Products and their attributes Reviews Ratings

License:GNU General Public License v3.0


Languages

Language:PHP 99.9%Language:Shell 0.1%