Creating a GraphQL endpoint in 60 minutes or less.
Assaf Gannon, Javascript Architect, from Tikal.
In this talk, we will address 2 of the most interesting topics in recent times - serverless and GraphQL. We will go over the requirements and key tools required to get started with both. We will demonstrate how simple it is to create a GraphQL endpoint and deploy it using Serverless services.
Was originally presented at https://www.meetup.com/Fullstack-Developers-Silicon-Valley/events/250007589/
8. What is Serverless?
Small pieces of Business Logic deployed independently
Using Services for non-Business Logic stuff:
Persistance (DB / Cache / Static)
Messaging
Authentication / Authorization
Logging / Monitoring
9. What are the Pros
Seamless horizontal scaling
Fast and cheap ramp up
Pay as you go
High-end tech widely available
10. What’s the catch?
Vendor lock-in
Different development and Architecture paradigms
On-premise solutions can be difficult to set up and
maintain (see ‘Vendor Lock-in’)
23. Getting started:
1. Install serverless CLI
(https://serverless.com/framework/docs/getting-started/)
2. Make sure AWS credentials are in place
3. Choose you language (Javascript, Java, Python, Go, C#
are supported)
4. Create a new Service via ‘serverless create`
24. Now what?!
1. Deploy your empty service
2. Add your functions and resources to serverless.yml
3. Start implementing your functions