Development Notes
Frontend of the application can be developed separately from the backend. The setup requires following steps:
- configure the application according to Setup Guide
- configure
config.properties
to containsecurity.sameSite=None
This is important if you are running the application over http so web browser would not block requests to the server due to CORS policy. - build the backend
mvn clean package
- deploy created web application archive (
./target/record-manager-*.war
) to a web server - run frontend
cd ./src/main/webapp; npm run dev
- frontend is by default accessible from
http://localhost:3000
Alternatively to step 2, a browser plugin can be used to disable CORS policy.