Live data from Hacker News

Show HN: I just made my profitable online form builder open-sourced

github.com

51–60 of 131 posts

Re: Show HN: I just made my profitable online form builder open-sourced

#52
post #16

I really like that you are using nestjs, idk why some devs hate it, IMHO its the best node framework that can be used to build production ready apps, i started using it a month ago at work and it was my first time using it, and it already made so productive

The worst Java frameworks are better than NestJS IMO

Re: Show HN: I just made my profitable online form builder open-sourced

#53

Can anyone confirm if the legal advice here https://docs.heyform.net/license is correct? Seems slightly different to my own interpretation of the spirit of GPL.

They would need to use the AGPL if they want folks that self-host to release their changes.

I don't know if the page changed, but it says that it is using AGPL

Re: Show HN: I just made my profitable online form builder open-sourced

#54
post #49

Very cool! Form builders are really fun applications to build and teach you a lot about more advanced relational models (like polymorphic relations) I scrapped together a form-builder-with-payments using RoR and RailsAdmin last year for my club and ended up spinning it off into a pay-per-use SaaS[1]. As it turns out, forms are a fundamental aspect of a LOT of things, and offering free use tools can change the game fo…

What do you mean by club exactly?

Re: Show HN: I just made my profitable online form builder open-sourced

#55
post #16

I really like that you are using nestjs, idk why some devs hate it, IMHO its the best node framework that can be used to build production ready apps, i started using it a month ago at work and it was my first time using it, and it already made so productive

NestJS is nodeJS for Java people. It's like Angular in that sense. So some people will feel like it's over engineered. I mean it's overengineered. Why do I have to register all these things, and why does it keep crashing if I register it like this without any understandable error message. It has a little bit of an OCD relationship with dependency injection. Where the normal import system can handle most of those case…

Yeah, I don't know, most of the time only time you actually need dep injection is for tests, and at that point why not just mock with Jest? Feels too much just having to do all this work just to complicate dependencies and make moving around more difficult for tests when a much simpler solution is available.

Re: Show HN: I just made my profitable online form builder open-sourced

#56
post #52
post #16

I really like that you are using nestjs, idk why some devs hate it, IMHO its the best node framework that can be used to build production ready apps, i started using it a month ago at work and it was my first time using it, and it already made so productive

The worst Java frameworks are better than NestJS IMO

Why? In what sense? What would you recommend instead for TS? And what would you recommend instead of Nest and TS?

Re: Show HN: I just made my profitable online form builder open-sourced

#57
post #46
post #36

Earlier quoted context omitted.

I'm literally in the middle of spending my evening, outside of work, gutting NestJS from a project I've inherited at work. I would literally consider changing jobs if I couldn't remove it. There is so much to unpack to get as why I have such an issue with it. But time and again I have been frustrated with it in terms of: it's design philosophy, implementation, scope of what it covers, bloat, recommended implementatio…

Don’t .NET and Rails do all those things?

They provide a default.

I suppose in nextjs it's the only option?

Re: Show HN: I just made my profitable online form builder open-sourced

#58

Earlier quoted context omitted.

This is precisely my experience. Classes are painful to deal with. Decorators are not only unergonomic, they also throw away any type safety. Also Nest shoves class transformer and class validator down your throat, which are also a pian in the ass. My go-to right now is itty router with zod.

Love to hear it! Btw, itty-router v5 just dropped a couple days ago, with a fun batteries-included (still ultra-small) router, that should make your code even leaner. How is the integration w/ zod anyway, and how can we make it better?

Yes I noticed v5! I love it so much. The great thing about itty is you can integrate anything really easily.

I'm in the progress of making a simple middleware based on zod to parse not only request body, but also params, headers, etc. Zod is really powerful and you could even use it to do stuff like parse jwt tokens and have complete type inference.

Perhaps my only issue with this approach is that you rely on a wrapper function to correctly pass the generics fron the middleware to the main handler.

Another possible approach is using types-per-route but then it's hard to enforce that the validator agrees with the handler itself.

Re: Show HN: I just made my profitable online form builder open-sourced

#59
post #38
post #18

I'm secretly and slowly building a form building application. The idea is that in my association we don't want to rely on Google Forms. And we only want to use open source software. We are using FramaForms which is a bit clunky and doesn't have this feature that updates a spreadsheet automatically. I thought that I could just create something that would answer both concerns. But a good open source forms app would pro…

> But a good open source forms app would probably change everything Can you go into that a bit more, I'm interested what you would see changing. Why do you think it hasn't been done already?

My understanding of the comment is that “changing everything” should be understood in the context described by the begining of the comment. That is their organisation would stop using FramaForms, and the commenter would stop working on their replacement skunk project. That is all of those mentioned plans/activities would change drastically.

It wouldn’t change literally everything. The Sun and the Earth will continue to orbit around a shared barycenter. Humans will continue to breath oxygen. Carbon will continue to form four covalent bonds per atom. Some boys will continue to think a lot about some girls, etc etc.

Post reply on HN