AWS AppSync

Are you a front-end developer aspiring to go "full stack" ?

So we have a problem....

As a front-end developer, you know how tied-up you’re to a back-end developer for all the API and database stuff, right?

Wouldn't it be cool if...

  • You didn't need to depend on them at all?
  • Rather you look at Backend as a Service. That's what we call BaaS

Now that we talked about BaaS, let us understand what it is...

 

  • Backend as a service (BaaS) is a cloud computing service model that serves as the middleware that provides developers with ways to connect their Web and mobile applications to cloud services via an API

  •  
  • One of the best known BaaS would be

But

has it's own set of problems

To name a few..

  • Handling collections and data within is somewhat difficult
  • No aggregation and not widely used by enterprises.
  • Multiple query and looping to get data
  • Performance wise it's lags at times and leads to higher latency

All is good but...

The Cloud Firestore is still in "BETA"

There are other BaaS too...

These are GraphQL BaaS

Coming back to the "backend" problem that front end devs have....

  • Let's admit, GraphQL is easier to learn for front-end devs
  • What if we can build our own GraphQL servers (schema etc) without learning much of Back-end languages like PHP, Python or RoR?
  • That makes us a "full-stack" developer (everyone loves that right?)

And Voila! We have AWS AppSync that solves exactly that :-)

 

  • Let's take a closer look at AppSync
  • Since it's based on Amazon infrastructure, it means you can rely on other Amazon services like S3, SNS, Elastic Search etc along with the DB solution, sounds interesting?
  • AWS AppSync is a managed service for apllication data using GraphQL with real-time capablilties and an offline programming model

By the way, our CEO Sanket is a good friend of one of it's core members, Nader Dabit

You can follow him on Twitter and Github

dabit3

By the way AWS AppSync was earlier known as

https://github.com/scaphold-io

And yes, It was silently acquired :-(

Now that we got to know about it, why not implement a simple API using AppSync?

Data Sources

Amazon DynamoDB

Amazon Elastic Search Service

AWS Lambda

NoSQL service with global table replication

Complex search capabilities including fuzzy matching and geospatial

Support any data source with custom resolvers

https://aws.amazon.com/documentation/appsync/

OFFICIAL DOCS

Questions?

Made with Slides.com