Yeah but this is using 3 different backend services just to automate self hosted forms.
Pretty sure you can do this without 3 different services.
I mean one a db.. you’d want that regardless and the others the processor.. and ones the form… you’d need those 3 in some variety anyway and technically you could drop the db if you just want it dumped to email id imagine
This is literally a blog recommending to use n8n as your processor… that’s basically it lol he’s just adding ways that can be extended too like noco and metrics
Maybe the article should be titled "Self-hosting forms, the n8n way" then, because if I was working with a dev who did this I would definitely question their sanity.
But as an article about a cool way to utilize n8n, this is fair, and perhaps even elegant.
The author clearly states he is not dev/sysadmin and just playing around for hobby - I think it's totally fine.
Re:Self-hosting forms, the sane way
by ocdtrekkie on Saturday April 27, 2024 @10:37AM
(#40180280)
That's entirely fair. I don't think I'd end up using the same setup as the author, but it definitely planted some ideas.
Why? If you need more than five forms, invent a small DSL that consumes something like a five column CSV (form element type, label, id, something, something) and craps out some PHP and SQL for you. Maybe make the layout boilerplate configurable through a bit of simple templating.
Everything you're describing could still be done in PHP (or another language)
At the office we have less proficient users who want to make web forms, but self-hosting the data is important to us.