All Projects → phillip-kruger → membership

phillip-kruger / membership

Licence: Apache-2.0 license
Membership service (to demonstrate graphQL)

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to membership

microprofile1.2-samples
Eclipse MicroProfile 1.2 Samples
Stars: ✭ 22 (+15.79%)
Mutual labels:  javaee, payara-micro
Jeddict
Jakarta EE 8 (Java EE) & MicroProfile 3.2 application generator and modeler
Stars: ✭ 358 (+1784.21%)
Mutual labels:  jax-rs, javaee
application-modernization-javaee-quarkus
Application Modernization Sample - From Java EE (2010) to Cloud-Native (2021)
Stars: ✭ 99 (+421.05%)
Mutual labels:  javaee, openliberty
EasyEE-Auto
EasyEE 自动化代码生成器。EasyEE Automated code generator.
Stars: ✭ 39 (+105.26%)
Mutual labels:  javaee
java-jaxrs
OpenTracing Java JAX-RS instrumentation
Stars: ✭ 37 (+94.74%)
Mutual labels:  jax-rs
graphql-java-codegen
Make your GraphQL Java application schema-driven.
Stars: ✭ 167 (+778.95%)
Mutual labels:  graphql-java
migrate-Java-EE-app-to-azure
Migrate an existing Java EE workload to Azure
Stars: ✭ 12 (-36.84%)
Mutual labels:  jax-rs
rest.vertx
A JAX-RS like annotation processor for vert.x verticals and more
Stars: ✭ 138 (+626.32%)
Mutual labels:  jax-rs
id-mask
IDMask is a Java library for masking internal ids (e.g. from your DB) when they need to be published to hide their actual value and to prevent forging. It has support optional randomisation has a wide support for various Java types including long, UUID and BigInteger. This library bases its security on strong cryptographic primitives.
Stars: ✭ 39 (+105.26%)
Mutual labels:  jax-rs
further-cdi
🔊 Going further with CDI presentation
Stars: ✭ 28 (+47.37%)
Mutual labels:  javaee
ncms
Java CMS engine. Host and develop multiple websites inside a single instance through the GUI and benefit from features like A/B testing, affiliate tracking tools, and a high performance template engine with CSS stylesheets processing & scripts minification.
Stars: ✭ 32 (+68.42%)
Mutual labels:  javaee
HotelReservationSystem
A web application to book a room in a hotel (room reservation).
Stars: ✭ 76 (+300%)
Mutual labels:  javaee
kafka-streams-example
Kafka Streams based microservice
Stars: ✭ 25 (+31.58%)
Mutual labels:  jax-rs
firehose
firehose: the metrics gateway for prometheus
Stars: ✭ 23 (+21.05%)
Mutual labels:  javaee
myblog
项目:一款Github上开源的博客系统项目 目的:对学到的框架、开源组件、前端技术进行应用学习。同时开发完成后写技术博客,开源到Github上
Stars: ✭ 23 (+21.05%)
Mutual labels:  javaee
TendereteOnline
A Java EE web application of an Online Shop developed with Hibernate + Spring + Bootstrap + jQuery
Stars: ✭ 19 (+0%)
Mutual labels:  javaee
EasyShiro
基于 RBAC 模型功能全面的 Shiro 安全集成&简化&扩展组件。Shiro integration & simplifies & Extension component based RBAC
Stars: ✭ 47 (+147.37%)
Mutual labels:  javaee
AwesomeMall
Java EE电商项目(使用SSM框架)
Stars: ✭ 29 (+52.63%)
Mutual labels:  javaee
SqlBuilder
This project is a SQL statement builder, allow you to write SQL in Java.
Stars: ✭ 15 (-21.05%)
Mutual labels:  javaee
jakartaee-kubernetes
Effective Kubernetes for Java EE, Jakarta EE and MicroProfile Developers
Stars: ✭ 32 (+68.42%)
Mutual labels:  javaee

ALSO SEE: https://github.com/phillip-kruger/graphql-example for a more up to date example

Membership service

This is an example application that demonstrate how to add GraphQL to your existing JAX-RS Application.

Watch a short screencast here

This application use these libraries:

Simple CRUD Application that can create, update, delete and get a membership. Every membership has a owner. The application use JPA to persist the Object in a DB. "Business Logic" is in the Membership Service (EJB) and the JAX-RS API in MembershipRestApi.

Added annotations and MembershipGraphQLApi to expose API as GraphQL.

Getting started

From source

Get the source:

git clone https://github.com/phillip-kruger/membership.git
cd membership

This demo runs on Thorntail Build and start:

mvn clean install -Pthorntail

The server is now up and running with some test data populated (see resources/META-INF/load.sql)

Available endpoints:

Also:

Run some examples:

In the GraphiQL GUI try out some of the examples

Openshift

You can also deploy and run this in OpenShift. First log into the OpenShift enviroment:

oc login

If you do not already have a project, create one:

oc new-project demo --description="Some demo applications" --display-name="Demo"

Then run

mvn clean fabric8:deploy -Popenshift
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].