Skip to content

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

Notifications You must be signed in to change notification settings

moritzdemmer/graphql-catalogue-module

 
 

Repository files navigation

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.

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.9%
  • Shell 0.1%