Powered by Koshka!!!
Create config.js file in /src/main/webapp/js folder.
Set SERVER_API variable pointing to web application root.
Example:
const SERVER_API = "http://localhost:8070/jetinfosystems/";
Server path can be follow for different environment:
- Run frontend stand alone, request backend from the server: "http://localhost:8070/jetinfosystems"
- Run frontend stand alone, request backend from the debugger: "http://localhost:8888"
- Run frontend and backend from deployed server or debugger: ".";
Create folder jetinfosystems in root of your web server installation.
For build, from the project root:
$ mvn package
$ cd src/main/webapp
$ npm install
$ cd -
Deploy (Jetty9 preferred):
$ cp target/jetinfosystems.war [jetty9 root path]/webapps/