Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discussion] who is using nestia in production? #203

Open
samchon opened this issue Dec 23, 2022 · 13 comments
Open

[Discussion] who is using nestia in production? #203

samchon opened this issue Dec 23, 2022 · 13 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested

Comments

@samchon
Copy link
Owner

samchon commented Dec 23, 2022

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 samchon added documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested labels Dec 23, 2022
@samchon samchon pinned this issue Dec 23, 2022
@samchon samchon closed this as completed Apr 30, 2023
@samchon samchon unpinned this issue Apr 30, 2023
@samchon samchon pinned this issue Aug 23, 2023
@samchon samchon reopened this Aug 27, 2023
@dipanshuhappy
Copy link
Contributor

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

@dipanshuhappy
Copy link
Contributor

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

@samchon
Copy link
Owner Author

samchon commented Oct 2, 2023

The swagger code gen means something like this?

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

@Valetek
Copy link

Valetek commented Oct 20, 2023

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

@bogeeee
Copy link

bogeeee commented Mar 10, 2024

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
Copy link

bogeeee commented Mar 10, 2024

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.

@Valetek
Copy link

Valetek commented Mar 10, 2024

Some tools provide swagger generating tools, as prisma community do

@machendos
Copy link

@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

@samchon
Copy link
Owner Author

samchon commented Mar 25, 2024

@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.

@nezudevv
Copy link

nezudevv commented Jul 26, 2024

I am looking into using this in Production as well, however, the only issue I am running into is the requirement for explicit return types on Controller Methods when generating swagger docs. Due to us using a query builder that automatically handles return type inference for us we avoid having to manually create response types for each controller. For me to get the team on board it would be easier if the explicit return type wasn't required.

@samchon
Copy link
Owner Author

samchon commented Jul 27, 2024

I am looking into using this in Production as well, however, the only issue I am running into is the requirement for explicit return types on Controller Methods when generating swagger docs. Due to us using a query builder that automatically handles return type inference for us we avoid having to manually create response types for each controller. For me to get the team on board it would be easier if the explicit return type wasn't required.

Upgrade to v3.9.0 patch, then npx nestia swagger will not check implicit type.

However, npx nestia sdk still validates it.

samchon added a commit that referenced this issue Jul 27, 2024
Support #203: allow implicit type when generating swagger file.
@nezudevv
Copy link

nezudevv commented Jul 30, 2024

I am looking into using this in Production as well, however, the only issue I am running into is the requirement for explicit return types on Controller Methods when generating swagger docs. Due to us using a query builder that automatically handles return type inference for us we avoid having to manually create response types for each controller. For me to get the team on board it would be easier if the explicit return type wasn't required.

Upgrade to v3.9.0 patch, then npx nestia swagger will not check implicit type.

However, npx nestia sdk still validates it.

Thank you!!

@Rafik-Belkadi-malou
Copy link

We are using Nestia in production for our startup:

Recap app

it's a mail client on top of gmail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants