Using Vite is perfectly possible. Dev or Prod uses the same port. I found this:
https://dev.to/herudi/single-port-spa-react-and-express-using-vite-same-port-in-dev-or-prod-2od4