Do the following to run the application
- Clone the repository
- Ensure you have maven 3+, java 8 and npm 6.11.3+ installed
- Fire up a terminal of your choice
Data service
- switch to the online-registration-service folder
- run maven clean install (mvn clean instal [if maven is set up as recomended]) - this will build the application and create the jar which wasn't commited. It'll also run tests.
- Run the jar using basic java commands ("java -jar target/online-registration-0.0.1-SNAPSHOT.jar")
- Deal with any firewall issues if you're on windows
- Application api documentation should now be accessible here http://localhost:8080/swagger-ui.html#/
- The application in-memory db should be accessible here http://localhost:8080/h2-console/login.jsp Set JDBC URL to jdbc:h2:mem:user-registration and connect
UI
- On a new terminal switch to the same directory but this time go to online-registration-ui
- The node modules needed for this project were not commited. So run "npm install"
- run "ng serve"
- Visit the application on http://localhost:4200