marvin-w / mesh

Gentics Mesh - The open source headless CMS for developers

Home Page:https://getmesh.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License Stack Overflow Join the chat at https://gitter.im/gentics/mesh Quality Gate Status CLA assistant

Gentics Mesh is an Open Source API-first CMS for developers. All contents can be stored/updated and retrieved using the REST API.

Setup / Installation

docker run -p 8080:8080 gentics/mesh-demo:0.34.0
npm install mesh-cli -g
mesh docker start -t 0.34.0 -p 8080
java -jar mesh-demo-0.34.0.jar

Demo

GraphQL API

query webroot($path: String) {
  node(path: $path) {
    fields {
      ... on vehicle {
        name
        description
        vehicleImage {
          uuid
          path
          fields {
            ... on vehicleImage {
              image {
                height
                width
                dominantColor
              }
            }
          }
        }
      }
    }
  }
}
---
{
  "path": "/yachts/indian-empress"
}

UI

Gentics Mesh automatically ships with a UI which allows you to browse your contents.

https://demo.getmesh.io/mesh-ui

Login: admin/admin

Example Frontend

https://demo.getmesh.io/demo

Features

  • GraphQL API
  • Content events via websocket
  • Document level permissions
  • Versioned content
  • Webroot API for easy integration with modern routing frameworks
  • Search API powered by Elasticsearch
  • Image API
  • Tagging API
  • Cluster support
  • Monitoring support
  • Graph database at its core
  • Docker support
  • Kubernetes support

alt tag

Typical usage

You can retrieve stored contents via the REST or GraphQL API.

First things first: you need to authenticate, otherwise you will not be able to access your data.

You can post your credentials via JSON, use basic auth or send a JWT header - the choice is yours. If you open that URL in a browser, you will most likely authenticate using basic auth.

IDE Setup - Eclipse

Make sure that you use at least Eclipse Neon.

Install the following maven m2e workshop plugins:

  • m2e-apt-plugin

Note: Make sure that your Eclipse Maven APT settings are set to "Automatically configure JDT APT". If you don't find this option, you most likely need to install the M2E APT Plugin for eclipse.

Import all maven modules in your IDE.

Please note that this project is using Google Dagger for dependency injection. Adding new dependencies or beans may require a fresh build (via Project->Clean) of the mesh-core/mesh-api modules.

About

Gentics Mesh - The open source headless CMS for developers

https://getmesh.io

License:Apache License 2.0


Languages

Language:Java 99.1%Language:CSS 0.6%Language:HTML 0.1%Language:Dockerfile 0.1%Language:Erlang 0.1%Language:Shell 0.0%Language:JavaScript 0.0%