React, express.js and how to do client generation and scaffolding generation
On my previous project, every client microservice used an API interface to talk to another microservice. The client was generated for all microservices. The generated client translated the DTO request to a json request to the server (using @Path(“/some/url”) annotation from each method on the interface) On the server-side, the server used this SAME interface and generated scaffolding (or mapping from http request back to the controller invocation). In this case, it also used the same @Path(“/some/url”) and read in the json and translated that to the reqeust and invoked the controller and of course took the rsponse and returned the json back to the client.
Linking React App with Express – main.tsx 404
Configure Express and React App.
I am not able to configure or start running the React app here.