Implement Micro Frontend in Angular - Explanation and Live Demo

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ธ.ค. 2024

ความคิดเห็น • 89

  • @vinothini15
    @vinothini15 2 ปีที่แล้ว +4

    This was really a good explanation. Here you have explained about MicroFrontends and how it is consumed by the host in MonoRepository. It will be great if you explain how this micro font end can be injected in a host which is totally lying in different repository(may be in a separate video or please direct me if you have one already)

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      HI Vinothini, I have given example of a mono repo, but the deployment is done separately. You can simply put these two projects in different repos and deploy it separately.
      It would work similarly.

  • @javascript_developer
    @javascript_developer ปีที่แล้ว +1

    At 15:07 line no. 21 I had to use './flights.module' instead of just 'flights.module'

  • @RajeshKumar-gr6xx
    @RajeshKumar-gr6xx 2 ปีที่แล้ว +1

    Really a good one!
    Please post ideas to answer. How to design project architecture for UI developer.

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      Do you want me to cover this topic?

  • @ajmalali1875
    @ajmalali1875 2 ปีที่แล้ว +3

    Love your content!
    I would love to see some content on Nx workspaces and best practices around it.

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว +3

      Will put that in the list! I haven’t used nx workspaces much… but have checked it out a bit. Would need to do some homework before creating a video on that…
      But be assured. I will make one video on that. ❤️

    • @kishorekumarlakshmanan
      @kishorekumarlakshmanan 2 ปีที่แล้ว

      Really a needed question ..nice bro

  • @sivavinod3614
    @sivavinod3614 2 ปีที่แล้ว +1

    It's great content with a short video. I'm expecting part 2 of the video

  • @nandanreddy
    @nandanreddy 9 หลายเดือนก่อน

    Great video.
    What is the VSCode extension you use that shows the types of variables beside it?

  • @Iam_AndersonP
    @Iam_AndersonP ปีที่แล้ว +1

    Great explanation, it would be helfull to know a way to use external components inside a template, so that way we can hace multiple micro frontentd inside a page like if the where local components

  • @lalatenduguru8121
    @lalatenduguru8121 2 ปีที่แล้ว +1

    Superb bro, Thanks a lot! btw you look like Vijay Sethupathi ;) keep up good work

  • @purnimakamble9481
    @purnimakamble9481 2 ปีที่แล้ว +3

    Really good explanation..can you please make a one video on how can we share assets in microfront components. Also font integration and scss integration

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      I think a separate static location can be used for the same. In current organisation we have just implemented that. A separate repo which deploys its static content to a s3 aws bucket. Our code (which gets deployed to another bucket) pulls static content and shows it in it.

  • @athero02yt3
    @athero02yt3 8 หลายเดือนก่อน

    I've got question, how can i deploy it to azure?

  • @vikramrajpurohit2225
    @vikramrajpurohit2225 2 ปีที่แล้ว

    How can we create build all these multiple app together or run these multi applications simultaneously after build?

  • @Feefor
    @Feefor 2 ปีที่แล้ว +1

    Really helpful video, thanks for sharing.
    Hope you consider making the follow-up video with services in MFE

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว +2

      I am going to upload soon. I am going to use nx, which makes it even easier.

    • @abhaythakur8572
      @abhaythakur8572 2 ปีที่แล้ว

      @@GouravGunjan can't wait 😌

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว +1

      I have posted the new video… please check it out

  • @praveensc522
    @praveensc522 ปีที่แล้ว

    unable to install node modules

  • @arunkumarprasath2671
    @arunkumarprasath2671 2 ปีที่แล้ว +1

    Great Video. Can you please explain how to deploy and call the respective js files

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      I have posted this in next video

  • @techproductowner
    @techproductowner 2 ปีที่แล้ว +1

    wonderful Sir for this , I have a basic question , earlier there use to be some UI code which is common , so those common code when we migrate to mfe style . .do we need to write the common code in all respective mfe ?
    will it not impact the reuse of common code in this style . . I am missing someting pls guide

  • @alkanath
    @alkanath ปีที่แล้ว

    you are amazing!!! THANK YOU!!!!

  • @srihitha4721
    @srihitha4721 ปีที่แล้ว +1

    DOes this solution works for angular and react ? Meaning can I load a react app inside this angular app ?

    • @GouravGunjan
      @GouravGunjan  ปีที่แล้ว

      I think you can load that. I have loaded react in normal angular.

  • @rajathvenkatesh3253
    @rajathvenkatesh3253 2 ปีที่แล้ว

    routing between two micro front end does not even work. (from MFE1 to MFE2 and vice versa)
    routing works only between shell and micro front end.
    Any suggestions?

  • @claudit13
    @claudit13 ปีที่แล้ว

    can we implement microfontend in Angular 10 project?

  • @saurabhgupta4155
    @saurabhgupta4155 8 หลายเดือนก่อน

    Hi @GouravGunjan, In this approach we still not maintaining code base separately for different apps as we do in micro-service architecture. Is it the best practice we follow or we have any further approach to maintain different code base for different apps.

  • @KrishDunn-yy1jz
    @KrishDunn-yy1jz 10 หลายเดือนก่อน

    Great Video, Thank you. I am facing a challenge with 2 different versions of the angular application. Could you do some helpful videos?

  • @dongababu
    @dongababu หลายเดือนก่อน

    Hi need some urgent help can I reach out to you in any way

  • @boriscissoko2865
    @boriscissoko2865 2 ปีที่แล้ว +1

    Thank for your explication

  • @ganapathirao9573
    @ganapathirao9573 2 ปีที่แล้ว +1

    Good Explanation. I have one question, you loaded external module from 'localhost:3000' but what incase of deployment? we need to replace with which url here? Please explain

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      Yes, you have to use the dns address here. Like if your component is hosted in xyz.com/componentRepo/componentX, you have use this address

  • @arsh3248
    @arsh3248 2 ปีที่แล้ว +1

    Thanks for the detailed explanation
    Also currently you have used a component through routing
    Please explain how will i add a mfe1 component as a child component in a shell app component

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว +1

      Hi Arsh, you can add a child component which can use routing to dynamically inject component. I am not sure yet if you can inject components directly. However, I saw there is away to expose a component - I didnt try doing it yet.

  • @kishorekumarlakshmanan
    @kishorekumarlakshmanan 2 ปีที่แล้ว +1

    Video was really useful and can you say about libraries, services and interceptors used in this micro front end architecture using angular and then how to maintain the state of the application and also say till deployment of the application using GCP

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      As mentioned in other comment. The tutorial link I have shared contain info about creating shared libraries and services.

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      I am not sure about deployment to GCP. But as you might be aware you need to serve both micro apps in same domain. So that you don’t run into cors issue.

  • @mohammedfahimullah4999
    @mohammedfahimullah4999 2 ปีที่แล้ว +1

    Thank you for this video

  • @sskrishna2711
    @sskrishna2711 2 ปีที่แล้ว +1

    Hi Gourav, nice video. Is it possible to communicate between shell and remote and vice versa.

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      Yes, I have posted other video on this

  • @javascript_developer
    @javascript_developer ปีที่แล้ว

    well explained. thanks.

  • @hk_build
    @hk_build 2 ปีที่แล้ว +1

    Thanks for great content!!
    Can you make a video on micro front end where react component is exposed wich is dependent on redux store and middle wares such as redux saga???

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว +1

      I am not that much into react js. But sure i will try to create something like that

  • @supriyabiradar6297
    @supriyabiradar6297 2 ปีที่แล้ว

    can you please share schematic to create new MFE within project , as in code there is shell and mfe1, and I want to add new mfe2, also is there any possibility about lazy loading for these MFE, kindly please guide

  • @nsureshingo
    @nsureshingo ปีที่แล้ว

    Hi Gourav, Do we need to maintain single repositories for all modules, is it possible to have a separate repository for each module?

  • @kishorekumarlakshmanan
    @kishorekumarlakshmanan 2 ปีที่แล้ว +1

    Can you provide the reference link also in the description...

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      I have added the tutorial in description. Do you require something more?

    • @kishorekumarlakshmanan
      @kishorekumarlakshmanan 2 ปีที่แล้ว +1

      Yes bro , am new to micro front end , waiting for your reply....also make videos for deployment using docker in GCP and if possible add some git videos bro.

  • @sqb8980
    @sqb8980 2 หลายเดือนก่อน

    Please share full code

  • @vasistan
    @vasistan 2 ปีที่แล้ว +1

    Nicely explained brother 😊

  • @kishorekumarlakshmanan
    @kishorekumarlakshmanan 2 ปีที่แล้ว +1

    Also provide how to use store concept in Microfront end architecture

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      In the tutorial link I have provided, if you go last section. You can see that singleton instance of a service is shared across micro apps. That can be used as store.

  • @HariKrishnan-bz7jz
    @HariKrishnan-bz7jz 2 ปีที่แล้ว

    Nice Explanation.

  • @ganapathilana7069
    @ganapathilana7069 2 ปีที่แล้ว +1

    Hi, It's awesome post. Can you provide the shell and mfe1 from scratch. Also post the communication between mfe's and mfe to shell
    thanks advance.

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      Hi, thanks for watching the video... I will put this in bucket for future videos...

  • @itscodingbere
    @itscodingbere ปีที่แล้ว

    Thank you so much for this informative video i got a lot to learn from that ❤
    I have some doubts. can you please tell how can i connect with you

  • @GautamGuptam
    @GautamGuptam 2 ปีที่แล้ว +1

    Great 👌

  • @santhoshgnanasekaran8272
    @santhoshgnanasekaran8272 2 ปีที่แล้ว +1

    Good explanation but need some more depth explanation in coding perspective. When we directly looking at the code not able to understand mfe1 and shell.. just need some explanation on that

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      Will try to create another video on that.

  • @adrianmechatovalencia5796
    @adrianmechatovalencia5796 2 ปีที่แล้ว

    what theme are you using?

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      I dont think I am using any theme in this project.

  • @ashitashukla4714
    @ashitashukla4714 2 ปีที่แล้ว

    Hi, thanks for the explaination, my query is regarding is it possible achieve single spa of MF1 of AngularJs and MF2 Angular 9+ in vanilla JS root container or something like root-container will be Angular 10 or 13 and exposed MF's ie. AngularJs and Angular 2+ ? If it is possible please help to understand.

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      Yes. It is possible. In the framework mentioned in the video, there is configuration done, where remote component can be exposed with its own framework.

  • @AhmedMubarakZ
    @AhmedMubarakZ 2 ปีที่แล้ว +1

    thank you

  • @AviatorBro
    @AviatorBro 2 ปีที่แล้ว

    Hi Sir, I have been learning a lot through your Angular videos. Just a small request , can you please make a video series on how to make use of Google Developer tools from basics to advance, so that it give us thorough information and help us become a better frontend developer. Thanks in advance 🙂

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      Sure!

    • @AviatorBro
      @AviatorBro 2 ปีที่แล้ว

      @@GouravGunjan waiting for your Google developer tools course 🙂

  • @domantasg7660
    @domantasg7660 2 ปีที่แล้ว +1

    Great video, would be nice to also have a link to source code :)

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      The tutorial link in description has a repo link.

  • @theisaacmoses
    @theisaacmoses 2 ปีที่แล้ว +1

    Waiting for Part 2

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      Hi, thanks for showing interest. Is there something you would like to focus on second part? :)

  • @hamlovingprophetpisslam183
    @hamlovingprophetpisslam183 ปีที่แล้ว

    Why so complexity? When its easy to embed a micro ui using an .

  • @srushtidaware7978
    @srushtidaware7978 ปีที่แล้ว

    Good content but please remove any kind of background music. Unable to concentrate and listen properly 🙏

  • @francismcguire6884
    @francismcguire6884 2 ปีที่แล้ว +1

    Nice content but the music is terribly annoying and distractive.

    • @GouravGunjan
      @GouravGunjan  2 ปีที่แล้ว

      Oh, okay. I will try to reduce the music even further. I have kept it a -32dB!

  • @avanishexplorer
    @avanishexplorer 10 หลายเดือนก่อน

    voice is not good . pls improve and upload it again

  • @davidalonsogarciapariona4655
    @davidalonsogarciapariona4655 ปีที่แล้ว

    I have error when I try to execute the comand npm install, It gives the following message: hile resolving: karma-jasmine-html-reporter@1.6.0
    npm ERR! Found: jasmine-core@3.6.0
    npm ERR! node_modules/jasmine-core
    npm ERR! dev jasmine-core@"~3.6.0" from the root project
    npm ERR! jasmine-core@"^3.6.0" from karma-jasmine@4.0.1
    npm ERR! node_modules/karma-jasmine
    npm ERR! dev karma-jasmine@"~4.0.0" from the root project
    npm ERR! peer karma-jasmine@">=1.1" from karma-jasmine-html-reporter@1.6.0
    npm ERR! node_modules/karma-jasmine-html-reporter
    npm ERR! dev karma-jasmine-html-reporter@"^1.5.0" from the root project
    and more...
    by the way, i have installled the same version as the proyect, angular 14. how could i solve this error?