2. Guidelines for Mumbai MuleSoft Meetup #17
[Virtual]
● Welcome to Mumbai MuleSoft Meetup! We will start our introduction session at 5 pm IST.
● Once you join write down your registered name in chat section so that we can provide you
audio/video access in Bevy.
● Please keep yourself muted unless you have any question.
● We encourage keeping your video on for making our meetup interactive.
● You'll can also write down your questions in chat section.
● We appreciate your valuable feedback. Thanks.
2
4. 4
●About the organizer:
○ Sudeshna Mitra
○ Manish Yadav
○ Akshata Sawant
○ Parth Rawat
●About the sponsor:
○ MuleSoft
Introductions
A SHOW OF HANDS:
Who is new to this Meetup?
6. Latest Releases/News
● Learn more about the New Connectors here:
○ RPA, data lakes, and event streaming: https://blogs.mulesoft.com/dev-guides/api-
connectors-templates/11-new-anypoint-connectors-rpa/
○ Microsoft Azure, Plaid, and Dropbox: https://blogs.mulesoft.com/dev-guides/api-
connectors-templates/11-new-connectors-for-anypoint-platform/
○ 26 new Anypoint Connectors for IT and business
collaboration: https://tinyurl.com/ywvvdawt
● Anypoint Platform with Datagraph -
○ https://tinyurl.com/35rauxtt
○ Webinar - https://www.mulesoft.com/platform/anypoint-design-center/datagraph
6
7. Latest Releases/News
● Become a leading community mentor - https://tinyurl.com/sv4rupew
● All meetup Calendar -
https://calendar.google.com/calendar/u/0/embed?src=idc4qavc8b81c9oop81obrs27k
● The calendar subscription link for other apps:
https://calendar.google.com/calendar/ical/idc4qavc8b81c9oop81obrs27k%40group.calendar.
google.com/public/basic.ics
7
10. 10
● What is GraphQL
● Why GraphQL
● Challenges addressed by GraphQL
● Use Case
● Installing GraphQL router in Anypoint Studio
● Demo
Agenda
11. 11
● GraphQL is an open-source query language for Rest API's and it is developed by Facebook in
2012 before releasing publicly in 2015.
● GraphQL provides an easy-to-use interface to query data from different sources in a single
API call.
● It's a query language that lets you write queries using an object structure rather than a text
string.
● It allows you to send the query to your API and get the required data.
What is GraphQL
13. 13
● Enables the use of multiple endpoints
● Prevents over-fetching data
● Simple versioning
● Easily access (relational) data
● Integration
● Strongly-typed schema
● Saves time and bandwidth
● Provides abstraction which reduces complexity
Challenges addressed by GraphQL
15. Case One: User Rest API that returns 10 fields in response but client A
requires only 5 fields and client B requires only 3 fields in response
15
16. Case two: We have to fetch data from multiple rest API's and each
APIs will respond with JSON payload. GraphQL will aggregate all the
responses and send back the required data to the client.
16
17. Installing GraphQL router in Anypoint Studio
● Go to https://github.com/mulesoft-labs/graphql-router
● Clone the repository to your local machine.
17
18. ● Navigate to a directory where you want to clone your repository.
● Go to command prompt and type the following git command:
○ git clone https://github.com/mulesoft-labs/graphql-router.git
18
19. ● Once the repository is cloned, go to pom.xml and change the mule-modules-parent version
from 1.0.0 to 1.1.3 as version 1.0.0 is not available.
● Go the the location where repository is cloned and then go to command prompt and run
command:
○ mvn clean install
● Once the project is successfully build.Create a mule project in Anypoint studio and add
following dependency in pom.xml.
<dependency>
<groupId>com.mulesoft.services</groupId>
<artifactId>mule-module-graphql</artifactId>
<version>1.0.0-SNAPSHOT</version>
<classifier>mule-plugin</classifier>
</dependency>
● After adding dependency graphQL module will be visible under Mule Palette.
19
24. 24
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Invite your network to join: https://meetups.mulesoft.com/mumbai/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
○ Contact your organizers Manish Yadav, Sudeshna Mitra, Akshata Sawant and Parth
Rawat to suggest topics
○ Tweet your organizers at @SudeshnaMitra14, @Manish_Kyadav,
@sawantakshata02, @ParthRawat@561d1102f4154f8
○ Follow us on Instagram (mumbai_mulesoftofficialpage)
○ Telegram: https://t.me/joinchat/Q6y-MgriEqyDicfZV9PIAg
What’s next?