GraphQL for Web and Mobile Apps Made Simple

Rate this content
Bookmark

Building web and mobile apps with GraphQL should be simple. With Nhost, developers build web and mobile apps with automatically generated GraphQL APIs. In this talk, we'll show you how this is ideal for developers who want to boost productivity without worrying about infrastructure.

This talk has been presented at GraphQL Galaxy 2021, check out the latest edition of this Tech Conference.

FAQ

Enhost is a back-end as-a-service platform that simplifies building web and mobile applications by handling the back-end infrastructure, such as databases, APIs, and authentication.

Enhost simplifies GraphQL by integrating with Hasura, a GraphQL engine that automatically generates APIs from your Postgres database, making the process seamless and less complex for developers.

Enhost uses an open-source server called Hasura Auth, integrated with Hasura, to manage all aspects of authentication for applications.

Enhost provides Hasura Storage, an open-source solution that integrates seamlessly with Hasura and supports file uploads to AWS S3 or Minio.

Enhost supports custom functions written in Node.js and Go, allowing developers flexibility in how they implement functionality in their applications.

Hasura, used by Enhost, features a real-time GraphQL API, event triggers, cron jobs, and a web console for management, enhancing the back-end capabilities for developers.

Yes, the entire technology stack used by Enhost, including databases, GraphQL API, authentication, and storage solutions, is 100% open-source.

Enhost simplifies app development by providing a serverless back-end, managing setup, configuration, and infrastructure, so developers can focus on creating user-centric applications.

Johan Eliasson
Johan Eliasson
6 min
08 Dec, 2021

Comments

Sign in or register to post your comment.

Video Summary and Transcription

Enhost provides a simple and accessible GraphQL backend for web and mobile apps. They offer a serverless infrastructure, taking care of setup and configuration, allowing developers to focus on app development. Enhost's stack includes a Postgres database, a Hasura-powered GraphQL API, Hasura Auth for authentication, Hasura Storage for file uploads, and support for functions in Node.js and Go. The backend is 100% open-source and includes features like event triggers, a CLI for local development, and GitHub integration. With Enhost, there are no excuses not to use GraphQL and build apps that users will love.

1. Enhost: Simple and Accessible GraphQL Backend

Short description:

Enhost provides a simple and accessible GraphQL backend for web and mobile apps. They offer a serverless infrastructure, taking care of setup and configuration, allowing developers to focus on app development. Enhost's stack includes a Postgres database, a Hasura-powered GraphQL API, Hasura Auth for authentication, Hasura Storage for file uploads, and support for functions in Node.js and Go. The backend is 100% open-source and includes features like event triggers, a CLI for local development, and GitHub integration. With Enhost, there are no excuses not to use GraphQL and build apps that users will love.

Hi, my name is Johan. I'm a CEO and co-founder of Enhost. Enhost is a back-end as-a-service platform. And this talk's title is GraphQL for web and mobile apps made simple.

At Enhost, we think that GraphQL should be simple and available for everyone, not only large organizations like Facebook, GitHub, Stripe, and others that are currently using GraphQL. If we take a step back more broadly, we think and believe that building apps should be simple. So let's take a step back and see what are some of the requirements necessary for building an app.

So almost every app has some variation of this that they need. So they need a database to store some information, API to send information back and forth, that's preferably a GraphQL API, authentication to sign in users, storage to upload funny cat pictures, functions to run some custom code. And if it's a web app, you probably need some kind of frontend hosting as well.

What we realized was that everything in this stack is relatively easy, except for the GraphQL API layer. However, lately there's been some innovation happening. And one of those is Hasura. And Hasura is this amazing piece of software. They have a GraphQL engine that sits on top of Postgres. And based on the tables and the columns in your Postgres database, it will automatically generate a GraphQL API for you. It's a really beautiful piece of software, as I said, and it has close to 25,000 stars on GitHub and it's being used by some big industry names. And as I said, it's primarily a GraphQL engine that automatically generates the API for you. It has subscription for real time, but it also has some other interesting stuff like Event Triggers, Cron Jobs. It has a nice web console to manage everything and much more.

So in our effort to make building apps simple, this is kind of our journey for the perfect back end. So we have the database, this is where we use Postgres, GraphQL API, this is where we can use Hasura. Authentication, we have solved by open-sourcing our own server called Hasura Auth that is integrated into Hasura and manages everything related to authentication. Same thing with storage, so we open-sourced something that we called Hasura Storage, that's also very well integrated to Hasura where you can upload any file, basically any object and it's backed by S3, so the files are actually stored in either AWS S3 or Minio. For functions, we can use something like Node.js and Go and this whole stack is 100% open-source, which is also very important for us.

Coming back to our initial title, GraphQL Made Simple, and we try to make it simple by providing a serverless backend for web and mobile apps. We take care of the setup, the configuration and all the infrastructure, so you as a developer can focus on what is important for your app and for your users. You can think of Enno's us doing for the backend what Netlify and Brazel is doing for the frontend. That's like one one-time model of thinking about what we're doing. There has been a lot of innovation in the frontend lately, and we believe that the next wave of innovation is going to happen in the backend. We're a serverless backend, and here are some of the things that we provide. I would say like the top layer here is what is most important about what we provide, so the database, GraphQL API and authentication, but we also have you covered in various other parts of the backend. So as I mentioned, storage functions, we have a CLI for local development, GitHub integration to push your code to GitHub, and we will automatically deploy migrations and metadata and functions for you, event triggers and much more. So now there is really no excuse anymore. GraphQL can be simple and available for everybody. I now encourage everybody here to build apps that are both fun to develop and that users will love. Thanks.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

From GraphQL Zero to GraphQL Hero with RedwoodJS
GraphQL Galaxy 2021GraphQL Galaxy 2021
32 min
From GraphQL Zero to GraphQL Hero with RedwoodJS
Top Content
Tom Pressenwurter introduces Redwood.js, a full stack app framework for building GraphQL APIs easily and maintainably. He demonstrates a Redwood.js application with a React-based front end and a Node.js API. Redwood.js offers a simplified folder structure and schema for organizing the application. It provides easy data manipulation and CRUD operations through GraphQL functions. Redwood.js allows for easy implementation of new queries and directives, including authentication and limiting access to data. It is a stable and production-ready framework that integrates well with other front-end technologies.
Local State and Server Cache: Finding a Balance
Vue.js London Live 2021Vue.js London Live 2021
24 min
Local State and Server Cache: Finding a Balance
Top Content
This Talk discusses handling local state in software development, particularly when dealing with asynchronous behavior and API requests. It explores the challenges of managing global state and the need for actions when handling server data. The Talk also highlights the issue of fetching data not in Vuex and the challenges of keeping data up-to-date in Vuex. It mentions alternative tools like Apollo Client and React Query for handling local state. The Talk concludes with a discussion on GitLab going public and the celebration that followed.
Batteries Included Reimagined - The Revival of GraphQL Yoga
GraphQL Galaxy 2021GraphQL Galaxy 2021
33 min
Batteries Included Reimagined - The Revival of GraphQL Yoga
Envelope is a powerful GraphQL plugin system that simplifies server development and allows for powerful plugin integration. It provides conformity for large corporations with multiple GraphQL servers and can be used with various frameworks. Envelope acts as the Babel of GraphQL, allowing the use of non-spec features. The Guild offers GraphQL Hive, a service similar to Apollo Studio, and encourages collaboration with other frameworks and languages.
Rock Solid React and GraphQL Apps for People in a Hurry
GraphQL Galaxy 2022GraphQL Galaxy 2022
29 min
Rock Solid React and GraphQL Apps for People in a Hurry
The Talk discusses the challenges and advancements in using GraphQL and React together. It introduces RedwoodJS, a framework that simplifies frontend-backend integration and provides features like code generation, scaffolding, and authentication. The Talk demonstrates how to set up a Redwood project, generate layouts and models, and perform CRUD operations. Redwood automates many GraphQL parts and provides an easy way for developers to get started with GraphQL. It also highlights the benefits of Redwood and suggests checking out RedwoodJS.com for more information.
Adopting GraphQL in an Enterprise
GraphQL Galaxy 2021GraphQL Galaxy 2021
32 min
Adopting GraphQL in an Enterprise
Today's Talk is about adopting GraphQL in an enterprise. It discusses the challenges of using REST APIs and the benefits of GraphQL. The Talk explores different approaches to adopting GraphQL, including coexistence with REST APIs. It emphasizes the power of GraphQL and provides tips for successful adoption. Overall, the Talk highlights the advantages of GraphQL in terms of efficiency, collaboration, and control over APIs.
Step aside resolvers: a new approach to GraphQL execution
GraphQL Galaxy 2022GraphQL Galaxy 2022
16 min
Step aside resolvers: a new approach to GraphQL execution
GraphQL has made a huge impact in the way we build client applications, websites, and mobile apps. Despite the dominance of resolvers, the GraphQL specification does not mandate their use. Introducing Graphast, a new project that compiles GraphQL operations into execution and output plans, providing advanced optimizations. In GraphFast, instead of resolvers, we have plan resolvers that deal with future data. Graphfast plan resolvers are short and efficient, supporting all features of modern GraphQL.

Workshops on related topic

Build with SvelteKit and GraphQL
GraphQL Galaxy 2021GraphQL Galaxy 2021
140 min
Build with SvelteKit and GraphQL
Top Content
Featured WorkshopFree
Scott Spence
Scott Spence
Have you ever thought about building something that doesn't require a lot of boilerplate with a tiny bundle size? In this workshop, Scott Spence will go from hello world to covering routing and using endpoints in SvelteKit. You'll set up a backend GraphQL API then use GraphQL queries with SvelteKit to display the GraphQL API data. You'll build a fast secure project that uses SvelteKit's features, then deploy it as a fully static site. This course is for the Svelte curious who haven't had extensive experience with SvelteKit and want a deeper understanding of how to use it in practical applications.

Table of contents:
- Kick-off and Svelte introduction
- Initialise frontend project
- Tour of the SvelteKit skeleton project
- Configure backend project
- Query Data with GraphQL
- Fetching data to the frontend with GraphQL
- Styling
- Svelte directives
- Routing in SvelteKit
- Endpoints in SvelteKit
- Deploying to Netlify
- Navigation
- Mutations in GraphCMS
- Sending GraphQL Mutations via SvelteKit
- Q&A
Build Modern Applications Using GraphQL and Javascript
Node Congress 2024Node Congress 2024
152 min
Build Modern Applications Using GraphQL and Javascript
Featured Workshop
Emanuel Scirlet
Miguel Henriques
2 authors
Come and learn how you can supercharge your modern and secure applications using GraphQL and Javascript. In this workshop we will build a GraphQL API and we will demonstrate the benefits of the query language for APIs and what use cases that are fit for it. Basic Javascript knowledge required.
End-To-End Type Safety with React, GraphQL & Prisma
React Advanced Conference 2022React Advanced Conference 2022
95 min
End-To-End Type Safety with React, GraphQL & Prisma
Featured WorkshopFree
Sabin Adams
Sabin Adams
In this workshop, you will get a first-hand look at what end-to-end type safety is and why it is important. To accomplish this, you’ll be building a GraphQL API using modern, relevant tools which will be consumed by a React client.
Prerequisites: - Node.js installed on your machine (12.2.X / 14.X)- It is recommended (but not required) to use VS Code for the practical tasks- An IDE installed (VSCode recommended)- (Good to have)*A basic understanding of Node.js, React, and TypeScript
GraphQL for React Developers
GraphQL Galaxy 2022GraphQL Galaxy 2022
112 min
GraphQL for React Developers
Featured Workshop
Roy Derks
Roy Derks
There are many advantages to using GraphQL as a datasource for frontend development, compared to REST APIs. We developers in example need to write a lot of imperative code to retrieve data to display in our applications and handle state. With GraphQL you cannot only decrease the amount of code needed around data fetching and state-management you'll also get increased flexibility, better performance and most of all an improved developer experience. In this workshop you'll learn how GraphQL can improve your work as a frontend developer and how to handle GraphQL in your frontend React application.
Build a Headless WordPress App with Next.js and WPGraphQL
React Summit 2022React Summit 2022
173 min
Build a Headless WordPress App with Next.js and WPGraphQL
Top Content
WorkshopFree
Kellen Mace
Kellen Mace
In this workshop, you’ll learn how to build a Next.js app that uses Apollo Client to fetch data from a headless WordPress backend and use it to render the pages of your app. You’ll learn when you should consider a headless WordPress architecture, how to turn a WordPress backend into a GraphQL server, how to compose queries using the GraphiQL IDE, how to colocate GraphQL fragments with your components, and more.
Relational Database Modeling for GraphQL
GraphQL Galaxy 2020GraphQL Galaxy 2020
106 min
Relational Database Modeling for GraphQL
Top Content
WorkshopFree
Adron Hall
Adron Hall
In this workshop we'll dig deeper into data modeling. We'll start with a discussion about various database types and how they map to GraphQL. Once that groundwork is laid out, the focus will shift to specific types of databases and how to build data models that work best for GraphQL within various scenarios.
Table of contentsPart 1 - Hour 1      a. Relational Database Data Modeling      b. Comparing Relational and NoSQL Databases      c. GraphQL with the Database in mindPart 2 - Hour 2      a. Designing Relational Data Models      b. Relationship, Building MultijoinsTables      c. GraphQL & Relational Data Modeling Query Complexities
Prerequisites      a. Data modeling tool. The trainer will be using dbdiagram      b. Postgres, albeit no need to install this locally, as I'll be using a Postgres Dicker image, from Docker Hub for all examples      c. Hasura