Lurker News
Since low-coding is super trendy these days, I was wondering if there are actually useful apps not only for non-devs but also for lazy-devs?

I tried couple of no-code apps, but found them inflexible –not really giving you the opportunity to dive-in and customize.

Comments (280) 102 threads

gavinray19 replies#
Hasura by far, lets you point-and-click build your database and table relationships with a web dashboard and autogenerates a full GraphQL CRUD API with permissions you can configure and JWT/webhook auth baked-in.

https://hasura.io/
I've been able to build in a weekend no-code what would've taken my team weeks or months to build by hand, even with something as productive as Rails. It automates the boring stuff and you just have to write single endpoints for custom business logic, like "send a welcome email on sign-up" or "process a payment".
It has a database viewer, but it's not the core of the product, so I use Forest Admin to autogenerate an Admin Dashboard that non-technical team members can use:
https://www.forestadmin.com/
With these two, you can point-and-click make 80% of a SaaS product in almost no time.
I wrote a tutorial on how to integrate Hasura + Forest Admin, for anyone interested:
http://hasura-forest-admin.surge.sh
For interacting with Hasura from a client, you can autogenerate fully-typed & documented query components in your framework of choice using GraphQL Code Generator:
https://graphql-code-generator.com/
Then I usually throw Metabase in there as a self-hosted Business Intelligence platform for non-technical people to use as well, and PostHog for analytics:
https://www.metabase.com/
https://posthog.com/
All of these all Docker Containers, so you can have them running locally or deployed in minutes.
This stack is absurdly powerful and productive.

dahdum2 replies#
I can't agree more about Hasura, I made the jump to GraphQL for my current application and it's been a dream. Their documentation is excellent, helping me get setup with auth0 jwt auth and apollo client despite being new to both.

Metabase was a game changer in my last company, it was so nice to just be able to drop a 50+ line custom SQL query in there with parameters and let users pull what they want. We'd also setup queries to be loaded via Google Sheets cron jobs. That enabled live dashboards most any spreadsheet user could create (pivot, lookups, transforms, etc.).

gavinray#
Yeah, these are tools that were each force-multipliers on my productivity, I can't imagine ever going back to be honest.
sgc#
Is there something that could plug into this stack which would allow for easy integration of a lucene / solr instance as a data source?
chris_st1 reply#
Are you hosting your own Postgres, or using a db-as-a-service? If so, which one?
gavinray#
For Dev and Staging, I use a Postgres Docker container, in Production I use a managed Postgres service.

I have a starter kit that includes a ton of stuff including pre-made JWT auth configured as Hasura Actions, a standard monolith-style Node REST API skeleton, and OpenFaaS serverless handler examples in every major language (Node, Python, Ruby, Java, Go, C#, PHP) you can find here:
https://github.com/GavinRay97/hasura-ultimate-starter
And really comprehensive docs about setup and architecture + how everything works here:
http://hasura-ultimate-starter.surge.sh/#/

damidekronik1 reply#
The tutorial looks great. Thank you for a great work!
gavinray#
Appreciate the kind words! I just wanted to share these tools because I feel they're undervalued and underused, and I reach for them for every new project I start.
jimbokun2 replies#
So hasura just exposes a Postgres database through GraphQL?

That sounds kinda nifty, but does it then allow you to write custom code to add business logic? Glancing through the documentation, that part wasn't clear to me.

gavinray2 replies#
That's one of the most common misconceptions about Hasura.

While it CAN expose an existing Postgres database, where it really shines (in my opinion) is when you're starting a brand new product. Because you can create your whole database and all the relationships, foreign-keys, triggers, permissions, etc through the web console UI incredibly rapidly.
And yeah, it takes care of all CRUD and provides an aggregation/statistics API (sum, median, standard deviation, count, mean, variance, etc), and it leaves the pieces of custom business logic up to you to write. It's entirely agnostic to what you use to write these, so long as they expose an HTTP endpoint.

simplify6 replies#
I really want to like Hasura, but very quickly you'll run into limitations of its permission system. Especially when dealing with logic across relationships.

If only Hasura supported some king of Prolog / Datalog instead of their ad-hoc JSON language, then you'd be able to write nearly any possible use cases. Until then, I'll stick to building and maintaining my own backends... manually :(

Continue this thread — 6 replies

bravura5 replies#
Sorry, I'm a bit new to GraphQL. Can you explain why this is more existing than starting a brand new product using plain PostgreSQL?

Can you also explain how locked in you are, if you decide you want to migrate away from Hasura, or in general want more flexibility that the use-case of Hasura + ForestryAdmin?

Continue this thread — 5 replies

ratww#
> does it then allow you to write custom code to add business logic

Yes! Like gavinray said, you can create HTTP services in any language of your choice. Hasura can then be configured to call HTTP endpoints when something changes in the DB. And your services can call Hasura anytime of course.
Remember that Hasura handles all the authorization for you, so there's no need to "proxy" requests made to it.
You end up writing very little compared to traditional frameworks.

cpursley4 replies#
This is similar to what we're doing! Hasura + AutoCRUD framework + Metabase is a great stack for putting together a solid business application in no time.

Combine Hasura (automatic GraphQL on top of PostgreSQL) with React Admin (low code CRUD apps similar to Forest) 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 I put together: https://github.com/cpursley/react-admin-low-code
And we're taking a step further and using Elixir to listen to Postgres table changes for an "Event" style architecture: https://medium.com/hackernoon/get-notified-of-user-signups-a...

gavinray#
Hey man, really cool to see you comment here! We've chatted in the Hasura Discord briefly, love your work with the React Admin adapter. RA requires more manual work to set up and the aesthetics are different (Material UI), but it also gives you more flexibility.

For anyone looking for a self-hosted solution that can be more easily whitelabeled, highly recommend cpursley's work.
You should pop by the server chat more often =D

dvasdekis2 replies#
I've taken your stack one step further, with a completely dockerised solution that uses Firebase as an authentication solution (authentication is missing from the current low-code example). It can be run locally or on a cloud provider that runs containers (e.g. GCP Compute Create-With-Container). See here: https://github.com/dvasdekis/react-admin-hasura-firebase/

Thanks to gavinray also for the help with this!

pricci#
Thanks for this! I will add it to a project.
cpursley2 replies#
This is awesome. I haven't had time to expand react-admin-low-code, so glad to see someone take the general idea and run with it. I'll update the Readme to mention your repo when I have a chance.

What we're doing in our production version of this is using Postgres and Hasura for auth following this approach in order to reduce external dependencies: https://github.com/sander-io/hasura-jwt-auth
It's really amazing how far you can get with just Postgres. Writing business logic with code in application middleware always felt hacky to me when we have these powerful and performant relation databases.

Continue this thread — 2 replies

pricci#
Hey, thanks for the adapter. It works great! I'm using it in 2 small projects.
diericx2 replies#
What are you using to create a customer facing UI/frontend? It sounds like Hasura is just for backend
gavinray#
Whatever you like. Depending on the nature of your work, you may be a startup or working for an organization that has mockups and design assets for what your frontend needs to look like.

In that case, you'd just build the front-end as usual, but use Hasura to bang out your whole backend and then autogenerate the type-safe query components with graphql-code-generator.
When I do products myself, I typically pick a pre-made template/UI kit (Vue is my preference) and then just modify it from there to suit my needs.
TailwindUI also looks really nice and I've seen several people build beautiful looking UI's with it for smaller SaaS products in a few days (though given that they're familiar with TailwindCSS and have a knack for this type of thing already):
https://tailwindui.com/
https://tailwindcss.com/
Hasura also has a lot of community examples for different front-ends. Ranging from web apps in React/Vue/Angular/Elm to mobile clients in Flutter or Android/iOS:
https://hasura.io/learn/
They have several dozen example apps built in all sorts of tech here:
https://github.com/hasura/graphql-engine/blob/master/communi...

arisa_a#
Check out https://internal.io/. We're big fans of Hasura and work really well with it. Full disclosure, I'm one of the founders.
xupybd4 replies#
What are you using for your authentication adapter? I've been looking at picking up hasura but don't like the idea of using something like Auth0. So I've been hunting on the best tool for auth.

Continue this thread — 4 replies

Continue this thread — 12 more replies

dvdhsu2 replies#
Retool (https://retool.com) might be what you're looking for on the front-end. It's built for engineers, so it abstracts away a lot of the boiler-plate stuff (e.g. fetching data from an API, showing errors if it fails, showing a loading indicator on the button when the REST API is in progress, etc.). But you still write code for the custom bits (e.g. if you want to hide a component for certain users).

Here's a 3 minute demo video: https://cdn.tryretool.com/videos/4_minute_demo_4827ae.mp4
It's something we started working on a few years ago before low-code was a thing, haha. It's funny to see what you work on become a buzzword, haha. If any of you have any thoughts / feedback, please let me know! (HN, honestly, has been the main source of feedback for us as we've been working on it.)

quickthrower2#
Low code has always been a thing :-). They used to call it something like ... "Use a library".

Java is lo-code compared to say C++ which was the main option for enterprise software before Java came out. You had VBA in Excel for decades.

discordance1 reply#
Is Retool related to Airtable at all? - or do they just follow a similat style guide?
sillycube#
Nope, but you can integrate them together with Zapier
carapace4 replies#
I'm gonna say Godot engine. Yeah, I'm seriously, the "game" engine. https://godotengine.org/

I was playing with it last month and whipped up a simple "toy" (calling it a "game" is too much) that lets me fly a little space ship around a little asteroid field. It took about a day to get it working enough to be fun. (I polished it up a little after that, and maybe one day I'll add some actual game play, mine an asteroid, whatever.)
https://git.sr.ht/~sforman/SpaceGame
While I used GDScript there's a node & pipe dataflow visual UI that non-programmers can use to construct "code", so I think it counts as low-code. You can modify your objects to "export" member vars to the UI so you can tweak them with widgets.
If I had to e.g. design and deploy a 3D world for VR users I would seriously consider Godot as a front-end IDE.
(BTW, I also made a fun knock-down-the-tower toy I call Yengapult: https://git.sr.ht/~sforman/Yengapult )

ObsoleteNerd#
For 2D games (and some simple 3D) GameMaker Studio[0] is amazing too. It has a “Drag and Drop” mode which allows you to build entire games ready to publish. You can even switch to the code mode if you want to, as each piece of the drag and drop interface directly correlates to a chunk of code.

I’ve made a complete platformer game with my kid with the drag and drop mode in a weekend (5 levels, high score system, power ups, custom animations, the works) then exported it as a proper Windows installable game.
[0] https://www.yoyogames.com/

golergka#
I think most modern game engines have visual coding now. Unreal has Blueprints out of the box, and Unity has Playmaker as de-facto standard.
yboris#
Side note: a very simple 2D game building system with Lua:

https://love2d.org/ - LÖVE is an awesome framework for building 2d games (and it's cross platform!).

phwitti#
Yeah i'd also go with unity as a 'low-code'-tool -- not just for the visual-scripting part, but also for the ability to easily add custom editor-tools for every workflow there is and therefore adding just more "low-code"-Tools to the game. We have about 100 custom tools in our studio -- often not more than a few lines of code, but our level-designers can script their own behaviors on top of that. I'm still waiting for an open source tool (not even focused on games) that incorporates code, data and ui this beautifully^^.

(Godot has the same basic principles but w/o the indefinite power of c# as modern and widely used programming language)

usrme3 replies#
I've found that Azure's Logic App Service has been shockingly useful to me! The hard prerequisite is that you are within the Azure ecosystem, but using Logic Apps instead of defaulting to writing PowerShell for Function Apps significantly decreased development time, has increased the ease with which I can debug workflows, and when you're on the free tier (with both aforementioned flavors), then Logic Apps still reign supreme as they don't have any cold start issues that users of Function Apps (that don't get hammered all the time) do.

https://azure.microsoft.com/en-us/services/logic-apps/
https://azure.microsoft.com/en-us/blog/understanding-serverl...

rjbwork#
This is exactly what I came to post. It's just a really well thought out service with gobs of connectors and a rich enough model to allow for basic boolean, looping, and scripting.

I used it plus a Google sheet as the first version of a UI for the last company I worked at. Instead of waiting for our front-end folks to finish up the UI, I just pointed a logic app at it, ran some basic logic on it, and brought it into the system whenever it was changed, and imported the data into the main data stores.

mahomedalid#
This. LogicApps it's a great low-coding tool that I enjoy as a developer.
Gene_Parmesan4 replies#
We are in the middle of a year-long project to 'rewrite' all of our ESB glue/pipelines from MuleSoft to the Azure platform. We've been using Azure for a while now for almost all hosting. But our ESB had still been in Mule, because as sort of the vital arteries of our entire enterprise, it's hard to seriously consider completely reimplementing them -- especially since we're only about 3 years out from implementing Mule in the first place.

But Mule's skyrocketing costs are forcing our hand. If we don't finish this transfer project within the year, we'll be charged $100,000 for another year of Mule -- an absolutely unfeasible cost for our small/medium sized nonprofit. Our preliminary cost analysis for Azure showed it would be a fairly tiny fraction of that. So off we go.
I bring this up because we have settled on mostly Logic Apps with a few Azure Functions here and there as necessary, to fill in for missing connectors. So we are in a pretty good position to directly compare the two platforms against each other.
So far, my personal judgment is that Mule offers a lot more whizbang, but we weren't using nearly enough of it to justify the bananas cost, and LAs are turning out to be just fine. Mule development work happens within something called Anypoint Studio, which is (I believe) built on Eclipse. Most of the work you do tends to be done in the visual editor, just like in LAs, but you can drop down into the XML as necessary. It provides a fairly good debugger, and has one benefit of being able to be tested locally. I could fire up a flow in debug mode, pop over to an ActiveMQ admin panel on my machine, fire off a message, and watch it hit breakpoints. Mule's also able to provide a more consistent ability to validate JSON against schemas; LAs appear to only really be able to do this at the trigger point. That's relatively minor, though.
Mule's visual editor has no problem with large (sometimes too large) flows, with multiple branching paths, and then sub-branching on top of that. The visual elements themselves have a certain polish to them as well, and don't take up too much space -- they're represented as square instead of wide rectangles.
In comparison, the Logic Apps design view feels rather clunky. It's clearly been designed to encourage small concise flows rather than large ones. We've reimplemented complex flows that felt fairly manageable in Mule, but feel rather unwieldy in LAs despite being essentially 1-to-1 translations.
But LAs do have some honest advantages besides price. A big one is being able to easily drop in a custom Azure Function as a processor. This provides some easy reusability for more complex tasks; we had to write a Function to create JWTs, but now can reuse that in every LA where we need it. Additionally, having everything there in the Azure portal is valuable. There is essentially no gap between working on a flow, and releasing it. Azure provides the run history for your app right in the panel, which essentially acts as a set of visual logs for past runs.
We are kind of struggling with figuring out how to integrate LAs with our source control, but my guess is we'll figure that out with enough experience. All said, I think MuleSoft offers a ton of advantages that very large enterprises would find highly valuable; there's the whole Anypoint Platform that I haven't even discussed here - API managers, access control, etc. But everything that our smallish organization has needed, we've found alternatives in LAs or in the wider Azure ecosystem.

murukesh_s#
We are building a product similar to Mule targeting small & medium enterprises. We are in beta and seeking for early feedback from enterprise customers. If you are interested, please drop an email to murukesh @ codeflow.co, we can work out a great licensing plan for you.
mycall#
> how to integrate LAs with our source control

Can't you use ARM templates or Azure CLI for deploying them?

Continue this thread — 2 more replies

Load more comments