Answer the question
In order to leave comments, you need to log in
How to run react app together .net core web api on same port?
Hello.
Wrote frontend using react create app, separate backend using visual studio .net core web api.
To launch the project, I need to separately launch the frontend, it launches at http://localhost:3000, and then the backend launches at localhost:3201/api/values (this opens the browser at this address) and to get data I need to insert the address localhost:3201/api/values.
The questions are this:
Answer the question
In order to leave comments, you need to log in
so that when the npm start command starts frontend and backend at once and on the same port
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question