This document discusses how a social network was built in under 4 weeks using serverless architecture and GraphQL. A small team including 1 full-time front-end developer for mobile, 1 full-time front-end developer for CMS, and 1 part-time back-end developer completed the project in approximately 7, 3, and 4 weeks respectively. AWS services like Cognito, AppSync, DynamoDB, Lambda, S3, and CloudFront were used to build the backend. An AWS organization structure was also implemented for production, staging, and development environments.
55. @theburningmonk theburningmonk.com
AWS AppSync
scalable & multi-az out of the box
pay as you use ($4.00 per Million)
built-in caching (extra $)
built-in metrics through CloudWatch
built-in logging through CloudWatch Logs
63. @theburningmonk theburningmonk.com
AWS AppSync
scalable & multi-az out of the box
pay as you use ($4.00 per Million)
built-in caching (extra $)
built-in metrics through CloudWatch
built-in logging through CloudWatch Logs
no servers to manage
120. not much point with local testing as they’re very
simple and has no dynamic behaviour, once you
figure out the “pattern” they just works
for AppSync resolvers
121. test integration with other services (e.g. DynamoDB,
Algolia) by executing function locally, but talk to the
real DynamoDB & Algolia
for Lambda
122. E2E test - execute user stories against
deployed GraphQL endpoints