nestia icon indicating copy to clipboard operation
nestia copied to clipboard

[Discussion] who is using `nestia` in production?

Open samchon opened this issue 1 year ago • 9 comments

If you're using nestia in production level, can you introduce me?

It would better if you are pasting production homepage URL with logo image.

samchon avatar Dec 23 '22 02:12 samchon

I am using nestia in prod here is the repo https://github.com/viaprize/viaprize

dipanshuhappy avatar Oct 01 '23 06:10 dipanshuhappy

If you're using nestia in production level, can you introduce me?

It would better if you are pasting production homepage URL with logo image.

what do you think of swagger code gen

dipanshuhappy avatar Oct 01 '23 06:10 dipanshuhappy

The swagger code gen means something like this?

https://nestia.io/docs/migrate/

samchon avatar Oct 02 '23 12:10 samchon

I'm currently testing it in production, I have no url to provide as it's all in private

But for what I could see Nestia is really helpful for what the controller decorator provide, such as data type transformation/validation

I'm still not sure about the sdk for swagger as currently there is some lib that create DTO with Swagger decorator all extracted from your db schema (in my POV that seem as a more secure way of keeping the docs updated as there is no human manipulation) and the sdk look painful to maintain for docs

Except for the swagger part that is personnal, when configured nestia can't be push to production without manual modification

In production we don't install the package in devDendencies, and you have to run the prepare command to make nestia work on service start, if ts-patch and typescript are not moved to dependencies, your service will not be able to start in production

in my POV typescript should not be in production, so maybe there is something to improve here ?

If you have some information about any of the point I wrote, I would be happy to discuss about it, maybe it's only me that missed some step in your documentation

Valetek avatar Oct 20 '23 17:10 Valetek

Yes, splitting it into transformer and runtime packages would be nice. @Valetek: You can run ts-patch in life mode (without patching). See here.

bogeeee avatar Mar 10 '24 15:03 bogeeee

I'm looking for a swagger code gen too. But in the other direction: Generating swagger spec from your typescript types. Not sure if it's Typia's purpose to solve this, or this might be a new project... But it would be cool to have such in a ts-patch transformer, so i could integrate that into the restfuncs ecosystem and give the user a zero-conf experience for downloading openAPI spec.

bogeeee avatar Mar 10 '24 15:03 bogeeee

Some tools provide swagger generating tools, as prisma community do

Valetek avatar Mar 10 '24 15:03 Valetek

@samchon we with big team are rewriting the whole Backend using Nestia. Code is not an opensource thugh. We're facing some limitations and bugs, but successfully found solutions for most of them. So we decided to continue

machendos avatar Mar 24 '24 23:03 machendos

@samchon we with big team are rewriting the whole Backend using Nestia. Code is not an opensource thugh. We're facing some limitations and bugs, but successfully found solutions for most of them. So we decided to continue

If solved some limitations and bugs, please report those bugs or share some knowhows please.

samchon avatar Mar 25 '24 03:03 samchon