NestJS Config Module: Using environment variables

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 18

  • @andrejkling3886
    @andrejkling3886 3 месяца назад +1

    The Best course of Nest js 💯 thank you 🔥

    • @SakuraDev
      @SakuraDev  3 месяца назад +1

      Thank you so much for your support ❤️🙏

  • @mohammadbohluli
    @mohammadbohluli Месяц назад

    very nice bro, thnaks(دمت گرم)❤❤❤❤❤❤

  • @rheumaticharm9551
    @rheumaticharm9551 Месяц назад

    Nice Video!!

    • @SakuraDev
      @SakuraDev  Месяц назад

      Thank you! I’m glad you liked it. More videos are coming soon, so stay tuned! 👍😊

  • @dreamsachiever212
    @dreamsachiever212 3 месяца назад

    great one

    • @SakuraDev
      @SakuraDev  3 месяца назад +1

      My pleasure! 😊

  • @venobrun
    @venobrun 24 дня назад

    after adding env variables. our seed functionality is broken

    • @SakuraDev
      @SakuraDev  22 дня назад

      Hi, what is the error?

  • @belkocik
    @belkocik 3 месяца назад

    What about type safe env (would love to see autocompletion intellisense to my env)

    • @SakuraDev
      @SakuraDev  3 месяца назад

      It can easily be done with joi package. I will create an extra episode for this. But at end of course. For now we just turn out focus on authentication

    • @robertz7329
      @robertz7329 3 месяца назад

      @@SakuraDev can it be done with Zod?

    • @SakuraDev
      @SakuraDev  3 месяца назад

      @@robertz7329 I should test it. It would be great if we could do it with zod

  • @FejkMarcin1212
    @FejkMarcin1212 2 месяца назад

    Why this.configService.get("dbconfig.env.type) is not type safe and there is not autocompletion intellisense? It is just a string.

    • @SakuraDev
      @SakuraDev  2 месяца назад +1

      Well, the config service does not have type safety out of the box. We need to use third party packages to add type safety

    • @FejkMarcin1212
      @FejkMarcin1212 2 месяца назад

      ​@@SakuraDev I will keep this in mind. Thank you :)

    • @SakuraDev
      @SakuraDev  2 месяца назад

      @@FejkMarcin1212 🙏🙏👋