Skip to content

Serverless Conf - Real-time as a First-class Serverless Citizen

Notifications You must be signed in to change notification settings

dabit3/first-class-real-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Serverless Conf - Real-time as a first class citizen

This repo holds the code for my demos at my talk from Serverless Conf

Google Docs in Markdown

Live demo: writewithme.dev

Schema:

type Post @model {
  id: ID!
  clientId: ID!
  markdown: String!
  title: String!
  createdAt: String
}

type Subscription {
  onUpdatePostWithId(id: ID!): Post
    @aws_subscribe(mutations: ["updatePost"])
}

Repo: Write with me

Real-time Beatbox

Live demo: hypebeats.dev

Schema:

type DrumMachine @model {
  id: ID!
  clientId: ID!
  beats: String!
  name: String!
}

type Subscription {
  onUpdateByID(id: ID!): DrumMachine
    @aws_subscribe(mutations: ["updateDrumMachine"])
}

Repo: HypeBeats

Real-time image tracking

Schema:

type ImageData @model
  @auth(rules: [
    { allow: public },
    { allow: private }
    ])
{
  id: ID!
  imageKey: String
  rekognitionData: String
  imageTypes: [String]
}

type Query {
	process(imageKey: String!): ImageData @function(name: "rekognitionfunction-${env}")
}

Repo: Real-time image tracking

About

Serverless Conf - Real-time as a First-class Serverless Citizen

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published