slackspace-angular2-spring-keycloak
slackspace-angular2-spring-keycloak copied to clipboard
Sample project which shows how to implement a secured Angular 2/Spring-Boot application secured by Keycloak.
Authentication with Spring Boot, Angular 2 and Keycloak
- Make sure to start Keycloak before using the application
- First start the backend application and after that the frontend application
Run backend
To run the project with embedded Tomcat by maven:
cd backend
mvn spring-boot:run
Run frontend
To run the project with development server:
cd frontend
npm install
ng serve
Then navigate to http://localhost:4200 to see the application in action.