Front End integration - franleplant/javaraptors.backend GitHub Wiki

This a guide to integrate our front end.

Any public files, like html, css, js, etc, etc, goes in

/src/main/webapp

So, put the front end into that directory in a subdirectory called frontend in whatever way you want to(in the future this will be set as a Submodule), run the backend server and then navigate to

localhost:8080/javaraptors.backend/frontend/app/index.html

and this will direct you to the application.

For the login navigate to

localhost:8080/javaraptors.backend/frontend/app/login.html

For instruction on how to select the right API route please refer to front end docs

Pulling new changes from the frontend

For more information visit this link

cd /jr/javaraptors.backend/src/main/webapp/frontend
git stash
git pull origin master

This will stash your local changes to the front end and pull the remote changes. For example, you will need to change the Root Route config to 'backend' again