Pre-installed Requirements: Java 1.8+, Maven, Node.js, Node Package Manager (NPM), MySQL.
Go to the directory where you want to install the project and then run the following commands:
git clone https://github.com/mccarthyr/jwt-angular-spring-boot-security
cd jwt-angular-spring-boot-security/UI
npm install
cd ../API/athlete
From this location you need to edit the src/main/resource/application.properties file to add in your own username and password for the database connection. Once that is done then contine with the following:
mvn install
UI
Go to jwt-angular-spring-boot-security/UI and issue the command:
ng serve
Then in your browser go to: localhost:4200
API
Go to jwt-angular-spring-boot-security/API/athlete and issue the command:
mvn spring-boot:run
Then in your brwoser go to: localhost:8080