NestJS API Professional Grade Documentation

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 39

  • @ДимитрийМаевский
    @ДимитрийМаевский 2 місяці тому +4

    I wrote over 20 Swagger documentations before I finally learned how to do it properly. It’s frustrating that I didn’t come across your videos a year ago

  • @victorgxn
    @victorgxn 4 місяці тому +4

    I have seen your channel recently and your content is pretty good would be nice a tuturial for ci cd nestjs in some vps or aws

  • @MrWeb4live
    @MrWeb4live 4 місяці тому +4

    I really appreciate your videos. They are amazing. Please make videos on ReactJs and NextJs beginner to pro

  • @brunohnrtrading
    @brunohnrtrading 4 місяці тому +2

    Excellent as always. Thank you for your hard work.

  • @ariburaco
    @ariburaco 4 місяці тому +1

    Great videos🎉
    I would love to see a Nextjs with a custom NestJs backend project including Authentication and tRPC in a monorepo/turborepo ❤

  • @ioannhide3355
    @ioannhide3355 Місяць тому

    Your videos are very useful. Thank you very much for your work!

  • @abuzain859
    @abuzain859 3 місяці тому

    We can do even better by using the cli i mean we can define the swagger as a plugin there and in this case, you will not need to add the swagger definition in the dtos and schema etc. By the way, your video quality is getting better.

  • @kajamenaja
    @kajamenaja 4 місяці тому +1

    Simply explain. Thank you for made a great video

  • @weipengjiang5851
    @weipengjiang5851 3 місяці тому

    NestJS also has a OpenAPI plugin so you won't have to decorate each endpoint, DTO etc... Details in the offical NestJS docs

  • @bartholomeas5231
    @bartholomeas5231 4 місяці тому +2

    Maybe sometimg about clusters/multi threading? :D

  • @mohaamiin8767
    @mohaamiin8767 4 місяці тому

    Thanks! I also wanted to ask which ORM you recommend for NestJS, and whether that ORM is future-proof

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому

      Hey @mohaamiin8767, you are actually not the first person to ask the question. I might do a video on the topic.
      Here is a response that I've given in a previous comment; hopefully, that'll be useful to you 🙏
      ----
      Have you considered not using an ORM?
      Before adding a tool/library/layer, can you ask yourself these questions?
      - What is the problem I'm trying to solve?
      - Is that problem worth solving?
      - Is that problem worth solving now? (Do I have the time and budget for it)
      - Does the tool/library/layer I want to add introduce more complexity? If yes, is the added complexity worth it?
      - If you work on a team, are your team members happy with the change, are the happy to learn something new, do you have the time and budget for everybody skill up?
      This was my very diplomatic way of saying if you're unsure about which ORM to choose, don't use one . Plus you can always come back and add one later if you want to.

  • @madhukarjadala
    @madhukarjadala 4 місяці тому +1

    Hi, Your videos are quite engaging and it is very clear. I am really enjoying watching your videos and trying to apply same in my projects. If possible can you also include source code so it saves us lot of time. Thanks

  • @mfion1
    @mfion1 4 місяці тому

    I have an interceptor that transform my response,is there a way I can apply a global response type that can take in a generic for data.

  • @abdullahsoomro6238
    @abdullahsoomro6238 3 місяці тому

    Love it. Just love it. Thank you ❤

  • @rxrzzz
    @rxrzzz 4 місяці тому

    can we please get a long form video on how to implement bob c. martin's clean architecture in nestjs??? pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

  • @KhalidKhan-xq5xp
    @KhalidKhan-xq5xp Місяць тому

    great video ! please provider the source codes

  • @RalphEffting
    @RalphEffting 3 місяці тому

    Amazing content, thank you!

  • @charperoti4844
    @charperoti4844 4 місяці тому +1

    Thank you again for this video. This one is again really helpfull. I would like to get in contact with you. How can i do that?

  • @mdminhazahamedrifat3282
    @mdminhazahamedrifat3282 2 місяці тому +2

    I use scalar, way better

  • @PsychoDude
    @PsychoDude 4 місяці тому +1

    This clutters code so much :( even tho its how it is said to do in docs)

  • @Aryan46KingOfHearts
    @Aryan46KingOfHearts 4 місяці тому

    Hi just start watching your tutorial is amazing,
    Just want to know do you have any experience in java ?

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому

      Thanks for the kind feedback, Yeah I used to code in Java but that was nearly 10 years ago 😅

  • @devinicin
    @devinicin 4 місяці тому +1

    Great as usual!

  • @wandenreich770
    @wandenreich770 4 місяці тому

    I didn’t like this approach with nexts..fastify has a better simpler approach which alllows you to build the docs from the schemas of your api

  • @harunibrahimovic5657
    @harunibrahimovic5657 4 місяці тому

    First here

  • @mettle_x
    @mettle_x 4 місяці тому +1

    This is horribly wrong pattern. The documentation shouldn't clutter the code like this. With so many @dectorators, the code quickly lose readability and simplicity. It also has significant performance hit while using Nestjs. The better alternative is to supply AI your code of the API and it'll generate the proper OpenAPI spec yaml/json itself.

    • @TheRedWheelbarrow0
      @TheRedWheelbarrow0 4 місяці тому

      Can you suggest how we can make good documentation for Nestjs Api. Please provide some good solutions for this

    • @belkocik
      @belkocik 4 місяці тому

      Link a article

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому

      Hey @mettle_x thanks for the feedback, do you use a dedicated AI to generate an OpenAPI spec? I would really love to try that option.
      You really quickly get used to decorators, and as long as you understand that they are here to add metadata and extra behaviour to the method they applied to, it becomes very natural.
      Is there any performance benchmark you can point us to regarding the impact of adding swagger decorators?

  • @Pankaj1015
    @Pankaj1015 4 місяці тому

    Hi Tech Vision,
    You are doing amazing in your industry. I am a designer and I have redesigned the thumbnail of your recent video. How can I contact you?