HN user

vikR0001

15 karma
Posts1
Comments28
View on HN

This looks very interesting! Is it possible to implement this in a node.js web app? Does it work with any build tool? How much latency does it add to a production server?

You might want to look at https://www.meteor.com/. There aren't a lot of alternatives to it that do such a good job of providing its benefits:

- Zero-config build tool

- Accounts system included

- Live reactive data system included

- Easy interface to React, Svelte, Vue

- Can use its out-of-the box MongoDB integration or integrate with any database via GraphQL

- Great community forum

A new version 3.0 is almost done.

Meteor is a very strong option. It will build anything you throw at it. It has built-in accounts so you can get your login/auth system running very quickly. It has a lot of options for live data if your app needs it - your users see relevant updates on their screens without needing to refresh the window. It supports React, graphQL, MongoDB, and other view frameworks/databases.

In the author's footnote #1, he praises Svelte and Vue. So the whole article boils down to "Don't use React, use Svelte/Vue instead."

First of all, you're really good at identifying the need for people to be able to answer this question! It's a very good question because often people aren't aware of their own skills. I don't have an answer here but if you could develop one you'd have many customers to utilize this as a service.

I googled "what hidden skills do i have" and found other people looking into this question as well.

You can do something like this. This query can be created and run on the client:

``` const SAMPLE_JOIN_QUERY = gql` query ($main_data_id: String!) { mainData( main_data_id: $main_data_id) { id main_data_field_1 main_data_field_2 main_data_field_3 related_data{ related_data_field_1 related_data_field_2 related_data_field_3 } } } `; ```

When you say it doesn't support tables, can you provide more info? GraphQL can return lists of course.

Let's say you need to get a field back that is already in the database table, but that wasn't previously returned by the GraphQL endpoint. All you have to do on the front end is ask for it and GraphQL will populate it for you on the server.