Feature REST GraphQL
AWS services used API Gateway, Lambda AppSync, DynamoDB
amplify add api command behavior
Allows to use existing Lambda or create
new Lambda function, no database
created
Create new AppSync and DynamoDB
table
Learning curve Familiar approach, easy to implement
Requires deep understanding GraphQL
concepts
Database use flexibility
Can be any database, also more than one
database can be used as the DB CRUD
logic is implemented through Lambda
Limited to single table approach, this
requires considerable planning and
upfront design