Spring Boot OAuth2 Social Login

This project on how to implement OAuth2 with JWT tokens using Spring Boot 2 and Angular. MongoDB is used as database for saving database. Cover

Technologies/Design Decisions

Setting Development Environment

Clone or download repository. It’s is recommended to use IntelliJ idea or other idle. Than open backend in idle to continue further.

Setting up the Spring Server

Setting up the Angular Server (frontend)

cd frontend
npm i
ng serve

Spring server start on http://localhost:8080 and Angular server starts on http://localhost:4200.

API Documentation

APIDOC

Link: http://localhost:8080/swagger-ui/index.html?url=/api/docs&validatorUrl=#/

Screenshots

Any questions

If you have any questions, feel free to ask me:

Don’t forget to follow me on twitter, github and Medium to be alerted of the new articles that I publish