Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between AWS Amplify & Apollo Client for GraphQL?

I agree Apollo Client is a pain to set up because of lots of boilerplate (although it becomes simple after reading the docs) & things like AWS Amplify, URQL, Apollo Boost & Micro GraphQL React makes it easy to work with GraphQL on the client.

I am currently working with AWS AppSync & want to choose between AWS Amplify & Apollo Client & I was thinking of going in all AWS.

So what is the difference between AWS Amplify & Apollo Client?

like image 814
deadcoder0904 Avatar asked May 17 '18 11:05

deadcoder0904


People also ask

What exactly is AWS amplify?

AWS Amplify is a complete solution that lets frontend web and mobile developers easily build, ship, and host full-stack applications on AWS, with the flexibility to leverage the breadth of AWS services as use cases evolve. No cloud expertise needed.

What is the difference between AWS Lambda and AWS amplify?

AWS Amplify is primarily designed to create and handle the backend of a web or mobile deployment using AWS, while Lambda provides the serverless cloud computing platform that executes codes in response to a pre-defined event.

Is AWS amplify same as Firebase?

AWS Amplify is an open-source framework fully integrated with AWS, works with GraphQL and multiple databases, and allows mobile and web development. Firebase is a BaaS service from Google; it provides NoSQL databases fully integrated with a REST API, its very easy to use, fully managed, and scalable.

Why use AWS amplify?

Amplify facilitates getting started with AWS for web and mobile app development because it is easy to use and flexible. The Amplify libraries accelerate implementation of functionality like user authentication, data storage, analytics, and predictions, using AWS services for the back-end functionality.


1 Answers

When you use AWS Amplify for connecting with AppSync, it will handle not only the GraphQL queries but also access control with IAM roles. In addition it also provides other essential capabilities, for example features like uploading files to S3, authentication with Cognito & etc.

If you use the Apollo Client which is a more focused library for GraphQL.

like image 102
Ashan Avatar answered Sep 20 '22 00:09

Ashan