Skip to content

This is a sample Concrete5 Package which shows how to use the graphql_websocket Concrete5 Package

Notifications You must be signed in to change notification settings

mlocati/graphql_websocket_sample

 
 

Repository files navigation

GraphQL Websocket Concrete5 Sample Composer Package

The idea of this repo is to show how to use the GraphQL and Websockets Composer Package in Concrete5.

Use this package just as a composer Concrete5 package, cause of the composer requirings

We build a C5 Version with Siler GraphQL, Apollo V2, React and Material UI. checkout the showdown here concrete5.lemonbrain.ch

This package is based on an other package and the documentation for it is in this wiki

This project is a concrete5 package that is powered entirely by composer.

To install this package on a composer based concrete5 site, make sure you already have composer/installers then run:

$ composer require lemonbrain/concrete5_graphql_websocket_sample

Then install npm requirements

$ cd ./public/packages/concrete5_graphql_websocket_sample
$ npm install
$ npx webpack --watch

Then install the package on Concrete5

$ ./vendor/bin/concrete5 c5:package-install concrete5_graphql_websocket_sample

After insallation of this package refresh your entities /index.php/dashboard/system/environment/entities/view. If you wanna have exact the same look and feel activate also the theme from this package /index.php/dashboard/pages/themes. And then navigate to the /person single page. If you wanna use the websocket servers, do not forget the apache settings and activate it /index.php/dashboard/system/environment/graphql

To dos

About

This is a sample Concrete5 Package which shows how to use the graphql_websocket Concrete5 Package

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 54.0%
  • CSS 24.0%
  • PHP 22.0%