Hello, I created a ASP NET Core Web Api project with the command dotnet new webapi -minimal. In my program.cs I am fetching some data from a public server and displaying it in plaintext for now when I run it and open localhost. So it works perfectly but since I am a beginner I have two questions.
1. Is my code and approach fine the way I did it? Is there anything what I can improve? 2. How can I connect this with a React frontend to display the some values from the fetch? I know how to work with react but I am missing the link how to connect each other?