This repo holds the code for my demos at my talk from Serverless Conf
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
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
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