I\'m trying jhipster with token-based authentication. It works perfectly.
Now, I want to run back-end and front-end code on different domains. How c
Separating frontend and backend in JHipster application is quite simple. Please follow the steps mentioned below if you want to setup frontend and backend applications separately and individually using JHipster:
Create two directories for frontend and backend applications
change your directory to frontend and run the JHipster command to create just frontend module
npm start
command to run your frontend application. I'm using mysql for db and JWT for auth and if you want to use websockets you add: "--websocket=spring-websocket"
Now, change your directory to the backend and run JHipster command to create just backend module
Now, your frontend and backend application are running separately and individually and frontend is coordinating with the backend application via REST API calls.