Presenting DIY GraphQL BaaS (https://hasura.io/diy-graphql-baas) and a small intro to Hasura on DO, at DigitalOcean Tide Conference in Delhi.
shahidh_kLeveraging thepower of GraphQLon DigitalOcean
View Slide
shahidh_kHello!I AM SHAHIDHI am an Engineer at Hasura2
shahidh_kGraphQLOpen sourced by Facebook in 201513
shahidh_k“GraphQL is a query language for yourAPI, and a server-side runtime forexecuting queries by using a typesystem you define for your data.4- GraphQL.org
shahidh_kREST vs GraphQL5Product Brand CategoryGETPUTPOSTPATCHDELETEGETPUTPOSTPATCHDELETEGETPUTPOSTPATCHDELETEProductWithBrand
shahidh_kSubscriptions - Realtime6
shahidh_kSubscriptions - Realtime7
shahidh_kHasura + DigitalOceanInstant Realtime GraphQL on Postgres82+ = + =
shahidh_kHasura one-click app on DigitalOcean9
shahidh_kHasura on DigitalOcean10 Source
shahidh_kDemo Time11
shahidh_kDemo - Async business logic - architecture12DatabaseAppPayment processingRestaurant approvalDelivery assignmentAsync serverless functionsMutations/Subscriptions
shahidh_k3factor.app demo13https://serverless-demo.hasura.app/https://github.com/shahidhk/hasura-serverless
shahidh_kHasura on DigitalOcean143Performance
shahidh_k18MBDocker Image5$DigitalOcean Droplet (1vCPU/1GB)50MB RAMConsumption @1000 req/sec15
shahidh_kArchitecture16AppDatabaseSQLJSONJSON
shahidh_kHasura on DO◦ Droplet with Docker▫ One-click App◦ DigitalOcean Kubernetes▫ Autoscale17
shahidh_kThanks!QUESTIONS?Star us on GitHubhttps://github.com/hasura/graphql-engine18 Slide template credits