Slide 1

Slide 1 text

#APIDAYSNEWYORK Boost your productivity with no-code GraphQL mocking Hugo Guerrero Developer Advocate, Red Hat @hguerreroo

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

#APIDAYSNEWYORK @HGUERREROO #APIDAYSNEWYORK Developer Productivity @HGUERREROO

Slide 4

Slide 4 text

#APIDAYSNEWYORK @HGUERREROO #APIDAYSNEWYORK Fake it ‘till you make it! Photo by Inês Pimentel on Unsplash @HGUERREROO

Slide 5

Slide 5 text

@HGUERREROO #APIDAYSNEWYORK Hugo Guerrero APIs Developer Advocate @ Red Hat Open Source Contributor History, Travel & Food Enthusiast Microcks maintainer

Slide 6

Slide 6 text

@HGUERREROO #APIDAYSNEWYORK Many API challenges to address... #1 - Shorten feedback loop #3 - Validate implementations #2 - Parallelize developments

Slide 7

Slide 7 text

#APIDAYSNEWYORK @HGUERREROO #APIDAYSNEWYORK "DSC_0043.JPG" (CC BY 2.0) by scottfeldstein Fro end Backend Busi ess @HGUERREROO

Slide 8

Slide 8 text

#APIDAYSNEWYORK @HGUERREROO #APIDAYSNEWYORK Photo by Kelly Sikkema on Unsplash Schemas & types are the new contracts @HGUERREROO

Slide 9

Slide 9 text

#APIDAYSNEWYORK @HGUERREROO What do you use to create GraphQL Schemas? ⓘ Start presenting to display the poll results on this slide.

Slide 10

Slide 10 text

#APIDAYSNEWYORK icons by Made x Made from the Noun Project @MICROCKSIO The importance of CONTRACT and EXAMPLES GENERATED EXAMPLES GENERATED REAL-LIFE BUSINESS EXPECTATIONS EXECUTABLE SPECIFICATIONS MOCKS & TESTS

Slide 11

Slide 11 text

@HGUERREROO #APIDAYSNEWYORK GraphQL Mocks https://www.apollographql.com/docs/apollo-server/testing/mocking/ https://the-guild.dev/graphql/tools/docs/mocking

Slide 12

Slide 12 text

#APIDAYSNEWYORK @HGUERREROO #APIDAYSNEWYORK Look Ma! Mocking without Coding @HGUERREROO "Freestyle Motocross" (CC BY-ND 2.0) by Chris Doelle

Slide 13

Slide 13 text

@HGUERREROO #APIDAYSNEWYORK Contracts & Examples

Slide 14

Slide 14 text

@HGUERREROO #APIDAYSNEWYORK GraphQL mocking with Microcks Open source Kubernetes-native tool for API Mocking and Testing. It provides an enterprise-grade solution to speed up, secure and scale your API strategy for the digital era. Microcks references almost any type of APIs or microservices contracts and examples. http://microcks.io

Slide 15

Slide 15 text

@HGUERREROO #APIDAYSNEWYORK Microcks Use-cases API Provider API Provider API Consumer Turn specification into live mocks ! Ensure your implementation is compliant with contract

Slide 16

Slide 16 text

#APIDAYSNEWYORK @HGUERREROO Magic Demo Time Photo by Unsplash #APIDAYSNEWYORK

Slide 17

Slide 17 text

EASE COLLABORATION REUSE YOUR ASSETS FOSTER INNOVATION AND RAPID FEEDBACKS CONTINUOUS SIMULATION AND COMPLIANCE VALIDATION SAME TOOLS FOR REST & SOAP AND ASYNC API COMMUNITY HUB TO SHARE MOCKS AND TESTS !! Mocking Takeaways icons by Made x Made from the Noun Project #APIDAYSNEWYORK @HGUERREROO

Slide 18

Slide 18 text

@MICROCKSIO #GRAPHQL CONF 2023 OpenAPI Specification 2.x, 3.x AsyncAPI Specification 2.x/3.x Traditional APIs Event-driven Systems CloudEvents Specification 1.0.x Soap WebServices (SoapUI) 5.1+ Postman Collection (JSON) 2.x GraphQL gRPC Services 3.x General Purpose Kafka broker MQTT broker WebSocket server RabbitMQ NATS.io Google Pub/Sub Microcks covers “ALL” Kinds of API AWS SQS + SNS

Slide 19

Slide 19 text

@HGUERREROO #APIDAYSNEWYORK More Resources Microcks GraphQL Documentation https://microcks.io/documentation/using/graphql/ GraphQL features in Microcks: what to expect? https://microcks.io/blog/graphql-features-what-to-expect/ Continuous Testing https://microcks.io/blog/continuous-testing-all-your-apis/ TestContainers Module https://testcontainers.com/modules/microcks/

Slide 20

Slide 20 text

@HGUERREROO #APIDAYSNEWYORK We Need You! Try Microcks (microcks.io) ! We are on Discord microcks.io/community Follow us on Twitter @microcksio, Distribute, & if you like it. Itʼs a 100% Open Source. And if you love it, contribute !

Slide 21

Slide 21 text

@HGUERREROO #APIDAYSNEWYORK THANK YOU ! Hugo Guerrero Twitter: @hguerreroo https://www.youtube.com/user/hguerreroo https://developers.redhat.com/author/hugo-guerrero