What Exactly is GraphQL—A Beginner’s Guide to GraphQL
In the past few years, APIs have grown in popularity in giant strides. The need for different client-side applications, like mobile and web applications, to retrieve data from a single backend has been the reason behind this new-found love for APIs. For a long time, REST has been the house-hold name among the majority of API developers. But that is changing now. There’s a new trend in API development, which is GraphQL. Most people have heard about GraphQL one way or another, but not many know w
Pre-Seed investment (and other updates)
Here at Nhost, we have been pretty low on new blog posts lately. That is because I have been part of the Antler program in Stockholm [] to increase Nhost's chances of being a successful business. Antler Startup GeneratorI went there with two goals in mind: 1. Find a co-founder 2. Get the Antler investment I managed to do both!  🚀 What does that mean? 1. Nuno Pato [], an excellent software engineer, has joined Nhost
Nhost CLI released - feedback wanted!
At Nhost, our main goal is to enable people to build web/mobile apps faster by providing the infrastructure and configuration needed to be up & running in no time. After talking to some of our earlier customers, we decided to start working on a CLI that would make it easy to re-create Nhost's backend environment on a local machine. This not only makes it easier for you to test web/mobile products but it also paves the way for new features coming soon (promoting local DB schema changes to other
10 Reasons Why Developers Love Hasura
1. GraphQL If you are a developer and tried GraphQL you will understand why this is the first and biggest reason to why developers love Hasura. With Hasura you will get a realtime GraphQL API instantly. Why is GraphQL such a big deal? It's because it increases the productivity and developer experience with A LOT! As an example, AirBnb is moving 10x faster thanks to GraphQL [] .
Building a multi-tenant application with Nhost and Hasura
This is a blog post based on a request related to a Github issue. So here it comes! :) related, Predictable pricing and Multi Tenant · Issue #82 · elitan/hasura-backend-plusHi, Could I request a similar guide like below, to able to host dedicated server on for every 1k customer etc. Multi TenantelitanGitHub []The blog post also will be inspired by a blog post [
create-react-app to Hacker News MVP in 3 hours [uncut video]
To show how fast any developer can build apps with Nhost I went on a 3 hours long recording to build a Hacker News clone in React. In the video I'll show you that if you are up at 6 AM you can have a Hacker News MVP up and running by 9 AM. Check out the video below
How to get started with Nhost [video]
Here's a video on how to get started with Nhost with PostgreSQL, Hasura, GraphQL, Auth and Storage. The app is a simple todo-app and file management. We'll also cover how to set up local account (email/password) and external OAuth provider (github). nhost/nhost-react-example-appNhost Example project using React. Contribute to nhost/nhost-react-example-app development by creating an account on GitHub.nhost GitHub []The video is ~20 min long. Enjoy
Building a photo app with Nhost
Build a Pixieset [] clone with Nhost as your backend! > Bring your own frontend. This tutorial is to demonstrate building the backend, with image uploads and permissions. We will show you how to integrate a frontend (and provide a Vue-based example), but Nhost works with any frontend js framework! 0. You will need * 1 × Nhost account (set yours up here []) * 1 × Frontend (example coming soon, or build your o
Hasura for beginners - what is Hasura?
This guide gives a brief overview of Hasura and defines important concepts. This guide includes, step-by-step, how to set up your Hasura and how to insert and get data from a GraphQL API. Hasura in one sentence: > Hasura connects to your databases and instantly gives you a production-ready GraphQL API. Hasura is between your GraphQL API (top) and database (bottom)More specifically, Hasura generates a GraphQL API based on your tables, columns and database structure. GraphQL is mostly known as a
Authentication with Hasura - an overview
Hasura gives you instant GraphQL on PostgreSQL. It's one of the best backend to build web and mobile apps. But also almost every app must handle users. Users who register, sign in and request data. But almost every app must handle its users. Users who register, signs in and interact with data in your app. When a request is sent to your backend you must make sure your backend knows who is actually sending the request. Who is the user who sends the request? The backend must know this because your
How to add empty string as default value for text field in Hasura
Let's say we have a table posts and we want to add a new column tag which should be an empty string by default. We can not add our tag text field with a default empty string using the Hasura console's "Add a new column". Instead we must add the column manually to the PostgreSQL database. Click on SQL in the left menu in the Hasura console to insert the following SQL statement. ALTER TABLE "posts" ADD COLUMN "tag" text NOT NULL DEFAULT ''; Click Run! and your new tag column with a default emp
The downsides of Google Firebase and Google Scale for your app
MongoDB and other noSQL databases became popular around 2010. They were web-scale []. It was the new, the shiny and sense everyone in the startup world would build an app for millions of users they might as well start using noSQL right away. Regular SQL databases felt old and you did not want to admit you where running SQL in your stack. That was not web-scale! noSQL required no planning. Just start with an empty {} and start adding your data. Quick and eas
Insert multiple relational objects transactionally in Hasura
Insert multiple relational objects transactionally in Hasura I am 99% sure Hasura [] is made by an extraterrestrial life form with near super intelligence because Hasura is just amazing! Maybe I am hyping this just a little bit too much but let me elaborate with one example why Hasura is great. We will look how Hasura can handle insertion of multiple relational objects transactionally. The use case We are building a service to save data of customer offers. Our MVP currently h
How to get started with Hasura and GraphQL on DigitalOcean
This is a quick blog post about how to get up and running with Hasura, GraphQL on DigitalOcean. Hasura is probably my current favorite technology when it comes to handling backend mechanisms for a web app. Hasura is just awesome! So, what is Hasura? > Hasura is an Instant Realtime GraphQL on Postgres Hasura automatically generates a GraphQL API based on your database. Your app will communicate with your database via GraphQL API. Hasura will handle everything between your app and PostgreSQL. Th
From old PHP/MySQL to the world's most modern web app stack with Hasura and GraphQL
This is the history of Nhost. Ever since 2007 I have been into programming and web development. Back then it was all PHP and MySQL websites and everything was great fun! Around 2013 SPA (Single Page Application []s) started to emerge. Instead of letting your web server render the whole page, the backend just provided data (from JSON [], for example) to your front-end. Your front end then had to take care of rendering you