Live data from Hacker News

Hasura raises $9.9M to simplify GraphQL

techcrunch.com

21–30 of 199 posts

Re: Hasura raises $9.9M to simplify GraphQL

#21
post #11

Disclaimer: I work on MongoDB Stitch This looks really cool and an improvement on Prisma! I particularly like the much less bloated schema experience (and the builder) along with the easy addition of actions. We've been working on something similar but it's great to see improvements in the UX of the space.

Do you have anything to add about Hasura? Or is this just a straight plug for stitch?

Yep, I modified my comment. I meant to put it as a sub-comment where it contextually made more sense.

Re: Hasura raises $9.9M to simplify GraphQL

#22
This is fantastic to see. First time I tried out Hasura back in late 2018 I was AMAZED.

After going through multiple different stacks such as MeteorJS, Firebase, building my own REST/GraphQL API etc. Nothing really felt right.

That was until I found out about Hasura.

I actually had to assemble a quick meetup at the co-working space I was on (true story) to show everybody this software. Hasura Tweet: https://twitter.com/HasuraHQ/status/1068145251267895300?s=20

They were all amazed and many use Hasura in production today in their apps.

For myself, I was so enthusiastic about Hasura and I always had Google Firebase in the back of my mind. Google Firebases DX is really good. I really liked it. But I did not like their tech (noSQ / REST / vendor lock-in).

So, I decided to start https://nhost.io.

Nhost is like Google Firebase but with PostgreSQL and Hasura (GraphQL). Right now providing database, API, auth and storage. Here is a short demo: https://www.youtube.com/watch?v=MWB5RXzlJM8

I feel very fortunate to be able to work with such awesome open source software and the success of Hasura makes me so happy, because they are, as mentioned in the comments field before me, a game-changer!

Re: Hasura raises $9.9M to simplify GraphQL

#23
post #20
post #18

Earlier quoted context omitted.

On that last bit, we recently added actions: https://hasura.io/blog/introducing-actions/ Writes (mutations) are delegated to a REST endpoint, the GraphQL mutation response can be synchronously (blocking mutation) or asynchronously consumed (mutation + subscription).

The sync part is very interesting, I like that it’s happening after the mutation so that Im not forced to reimplement the graphql types myself. Will give it a try, thanks

Yep! The GraphQL resolution logic and the permissions get reused automatically.

Re: Hasura raises $9.9M to simplify GraphQL

#24
post #17
post #5

Hasura is a game-changer. I'm never writing CRUD backend apps again by hand. Combine Hasura (automatic GraphQL on top of PostgreSQL) with React Admin (low code CRUD apps) and you can build an entire back office admin suite or form app (API endpoints and admin front end) in a matter of hours. This adaptor connects react-admin with Hasura: https://github.com/Steams/ra-data-hasura-graphql Here's a reference application…

Looks cool! I cloned it and ran it locally. I noticed there was no backend running locally, and then saw it points to https://low-code-api.herokuapp.com/v1/graphql . Is the code running there available in a repo too? It would be super nice if you could link to it from the project README.

[deleted]

Re: Hasura raises $9.9M to simplify GraphQL

#25
post #8
post #7

While I like and enjoy many aspects of code generation such as this or Prisma, In real world scenario it just doesn’t feel right. Imagine a very simple scenario, you want to add some validation based on business requirements, in order to do that you have to have a server with custom endpoints or a custom graphql server (thus copy most of what hasura generates) to implement your own validation The only situation in wh…

Exactly! It could be useful for simple apps if they add a way to create basic validation rules with regex.

The Hasura console actually makes it quite easy to manage check constraints and validation rules! :)

Here's an example for a regex for validating email from one of our community calls: https://youtu.be/-9jX21PKyk0?list=PLTRTpHrUcSB8Dp3hk5SiVNHNP...

Re: Hasura raises $9.9M to simplify GraphQL

#26
post #8
post #7

While I like and enjoy many aspects of code generation such as this or Prisma, In real world scenario it just doesn’t feel right. Imagine a very simple scenario, you want to add some validation based on business requirements, in order to do that you have to have a server with custom endpoints or a custom graphql server (thus copy most of what hasura generates) to implement your own validation The only situation in wh…

Exactly! It could be useful for simple apps if they add a way to create basic validation rules with regex.

Hasura runs on top of a plain old Postgres database. You can use CHECK constraints to implement validation rules, including regex rules

Re: Hasura raises $9.9M to simplify GraphQL

#29
post #5

Hasura is a game-changer. I'm never writing CRUD backend apps again by hand. Combine Hasura (automatic GraphQL on top of PostgreSQL) with React Admin (low code CRUD apps) and you can build an entire back office admin suite or form app (API endpoints and admin front end) in a matter of hours. This adaptor connects react-admin with Hasura: https://github.com/Steams/ra-data-hasura-graphql Here's a reference application…

Django has had an automatic admin site since 2006 or earlier, this isn't a game changer for me.

Re: Hasura raises $9.9M to simplify GraphQL

#30
post #5

Hasura is a game-changer. I'm never writing CRUD backend apps again by hand. Combine Hasura (automatic GraphQL on top of PostgreSQL) with React Admin (low code CRUD apps) and you can build an entire back office admin suite or form app (API endpoints and admin front end) in a matter of hours. This adaptor connects react-admin with Hasura: https://github.com/Steams/ra-data-hasura-graphql Here's a reference application…

Django has had an automatic admin site since 2006 or earlier, this isn't a game changer for me.

Yeah, pfft, Java EE has had this since the early 2000s too. What's old is new again, amirite??
Post reply on HN