In production use, the service and app are served from the same host using content negotation.
However, for dev, you can run the app and service on separate hosts to allow hot reloading.
- Open two terminals
- In one terminal, navigate to
./app
and run the commandnpm run start
- In the other terminal, navigate to
./service
and run the commandnpm run dev
You should then have:
- the app running on http://localhost:3000
- the service running on http://localhost:8080
Visit http://localhost:3000 in your browser to see the app
You can simulate production use by building the app and running the whole thing from the service endpoint.
- Navigate to
./app
and run the commandnpm run build
- Navigate to
./service
and run the commands
npm run build
npm run start
You should then have the service running on http://localhost:8080
Visit http://localhost:8080 in your browser to see the app (being served from the service)
validationmultistorerename routesdelete old filesrefresh on addrefactor resultsreadme- product selection
- run now
- delete
- advanced properties