Build Microservice architecture using Node js, MongoDB, Postgresql, Expressjs, JWT

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

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

  • @jackfrost8969
    @jackfrost8969 7 месяцев назад +2

    That O(1) optimisation at the end was very well done.

  • @praveensahu6678
    @praveensahu6678 Год назад +2

    bhaiya sach mein maaza aa gaya ..next video jaldi upload krna..bahut kuch sikhna hai aapse

  • @goodluckkr
    @goodluckkr Год назад +1

    Bohot dino se wait kr rha tha microservice ke upar video❤

  • @DeepakGupta-pz4fx
    @DeepakGupta-pz4fx Год назад +1

    Great video ...right time to upload ...I am now searching RUclips. ..node js Microservice

  • @RajendraBisoi23
    @RajendraBisoi23 11 месяцев назад

    I usually perform the method 2 technique like mxn Time complexity, but the way u optimised it to o(1) was really splendid

  • @KannadaMusicLibrary
    @KannadaMusicLibrary 5 дней назад

    Great video... one thing we can use delete user.password instead of select as well to remove password from auth-service

  • @debasishdutta9073
    @debasishdutta9073 Год назад

    i learned something valuable today. thanks and keep sharing valuable content

  • @hitendrapatil9991
    @hitendrapatil9991 10 месяцев назад +5

    The error that you encounter , It's becuase of forEach doesn’t return anything and when you used map it was working becuase map return an array. Thanks vdo was awesome 😎

  • @snehil3209
    @snehil3209 6 месяцев назад +1

    great video sir!!

  • @himanshuaggarwal5901
    @himanshuaggarwal5901 Год назад +3

    Great Video.... Please make more videos of NodeJS Microservices and Various Services of Backend in NodeJS

  • @somnathdas8922
    @somnathdas8922 8 месяцев назад

    Good topic of packages and architecture.

  • @Sachin_vibe
    @Sachin_vibe 8 месяцев назад

    Hi but in case of mongodb aggregation when we use lookup and there are multiple lookups what to do in that case .

  • @tryinfo
    @tryinfo 5 месяцев назад

    Very good architecture ❤

  • @prashlovessamosa
    @prashlovessamosa Год назад

    Thanks Tushar bhai.

  • @Nishant_Raut
    @Nishant_Raut 6 месяцев назад

    Amazing🔥

  • @sambariatech
    @sambariatech 6 месяцев назад

    Sir, can we perform look up with two different microservices? Actually i have two dbs one is user and other is product db and i need to find the name of that user who buying product so i need to apply join , can we apply aggregate directly ? Mai use nhi kr pa rha directly

    • @codingWithTushar
      @codingWithTushar  6 месяцев назад

      Nahi ese nahi hoga if you have to hit 2 query one is for user and another one for product . Join is possible if you are using same DB but your both DB are seperate then you can't put joins

  • @PrashantJoshi-v2c
    @PrashantJoshi-v2c 9 месяцев назад

    Thanks for this ♥

  • @iamakashkumarram
    @iamakashkumarram Год назад +1

    Sir please make a detailed course on PostgreSQL ❤

  • @aabhishakemishra
    @aabhishakemishra Год назад +1

    Sir we can use massage queue

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

    Sir token ko database user table me save kar sakte hain

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

      JWT ka flow stateless hai and we do not store it in DB .
      If you want to store in DB you can but it’s not recommended with JWT

  • @gautam8469
    @gautam8469 4 месяца назад

    pleae being more project videos on microservices based architecture

  • @somnathdas8922
    @somnathdas8922 7 месяцев назад

    sir could you please tell me which font and theme you are using in vscode?

  • @regilearn2138
    @regilearn2138 7 месяцев назад

    Wow great, can you teach us how to use micro frontend with module federation in react

  • @zensumarai
    @zensumarai 4 месяца назад

    optimisation at end was 0(n) not o(1) . please check.

  • @bikramroy37
    @bikramroy37 6 месяцев назад

    Sir why we use static inside class ?

    • @codingWithTushar
      @codingWithTushar  6 месяцев назад

      Usually we use static to access any method or variables directly from class in this case we don't need to create an instance of that class

  • @eduardoholzmann853
    @eduardoholzmann853 9 месяцев назад

    nice tutorial, but you dont secure all endpoints, and need to create a token to comunicate btween services. and some gateway so de client dont need to guess witch server call.

  • @leonela.2618
    @leonela.2618 11 месяцев назад

    array.forEach(async (item) => { .... async method }) does not work correctly for async executions, replace it with 'for' statement. everywhere. I like it this video

  • @Rounak-sv7nj
    @Rounak-sv7nj 10 месяцев назад

    Bhaiya, with due respect, I do not want to disregard or anything. But is this is true microservice because isn't the case of microservice... Every service could be individually deployed but you are using authenticationMiddleware in every service.
    I mean ...what if I am deploying each folder on different server.
    There would be some sort of communication gap In " post_micro/routes/postRoutes.js"
    import authMiddleware from "../middlewares/authMiddleware.js";
    and this line wont be able to find that middleware. What should I do in such cases?

    • @codingWithTushar
      @codingWithTushar  10 месяцев назад

      Bro it's depends if you do not want to use same code to just verify the JWT then you can call it from Auth API but again it will create extra one request on your another services to just check token .
      So that's why we have implemented the same code on our servers .
      In some case you will use different backend where you will different code or you can just call your Auth API

  • @engineerslab1664
    @engineerslab1664 11 месяцев назад +1

    Promise.all takes array of promises. When u were using forEach it does not return any thing but when u were using map it return an array. So it worked

    • @mohsinzaheer382
      @mohsinzaheer382 10 месяцев назад

      Thanks for your Explanation because when Tushar told in video that "it was not working with forEach and working fine with map" then in remaining part of the video I was constantly thinking about why It didn't work with forEach. Then suddenly looked at you comment before asking it from chatGPT. 🤩

  • @rajankumar-ht8ug
    @rajankumar-ht8ug 6 месяцев назад +1

    Sir plz 🙏 ek form validation baniye na next-form-prisma-zod-trpc- mongodb plz 🙏 Hindi me I humble request

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

    😊

  • @DeepakKumar-sn9zc
    @DeepakKumar-sn9zc 11 месяцев назад

    Hi sir..
    Can please make one small micro service project

  • @mukulkumar5133
    @mukulkumar5133 7 месяцев назад +1

    bhai apne 21:40 per email me mukul kyse de diya mera bhi name mukul hai what a coincidence

  • @user_abhigupta
    @user_abhigupta Год назад

    Postgressql beginner to advance

  • @ansor9797
    @ansor9797 6 месяцев назад

    Bilaaaa hindcha zaybal tildaa