GraphQL server demo

https://www.graphqlstack.com/ GraphQL Server – Apollo server starter example using https://www.apollographql.com/docs/apollo-server/getting-started/ Setup Notes Links graphql code: https://graphql.org/code/ apollo-server :https://www.apollographql.com/docs/apollo-server/ github: https://github.com/apollographql/apollo-server npm :https://www.npmjs.com/package/apollo-server-express Introduction We will use apollo server as a GraphQL server (to be used with any GraphQL client). Obtain a basic understanding of GraphQL principles Define a GraphQL schema that represents the structure of your data setContinue reading “GraphQL server demo”

Observables, Observers and Subscriptions

Official site: http://reactivex.io/ Learning: https://thinkrx.io/ Observable <— Subscription –> Observer (next(), error(), complete()). Observable: an observer subscribes to an Observable which reacts to the data stream the Observable emits. A “hot” Observable may emits items as soon as it is created, and so any observer who later subscribes to that Observable may start observing the sequence somewhere in theContinue reading “Observables, Observers and Subscriptions”

Pact Consumer Driven Contracts

https://javier.gilpereda.com/microservices/implementing-springboot-restapi-using-pact-consumer-driven-contracts-bdd-and-cdc https://docs.pact.io/5-minute-getting-started-guide https://docs.pact.io/ https://martinfowler.com/articles/consumerDrivenContracts.html Example Repo: https://github.com/mattiasmgn/Pact-JVM-Example Links: https://github.com/DiUS/pact_broker-docker https://github.com/DiUS/pact-jvm/tree/master/pact-jvm-consumer-junit https://github.com/DiUS/pact-jvm/tree/master/pact-jvm-provider-junit https://github.com/DiUS/pact-jvm/tree/master/pact-jvm-provider-maven