how can i build web application like google lighthouse) in react need ideas

Hello there I am trying to build an application like a in reactjs but I don't have any idea about that like how can I build it which tools and things I have to use I know things related to UI like I can use etc material UI or any other library but I am having big doubt on how to run tests on the sites like after putting/pasting our site URL in that input box how can I run the tests on the whole site and then generating a report if anyone has ideas about this then please answer below have a good day all.