Spring Boot Mini Project for practice and understand concepts
Approach followed
- Setup with basic application and dependencies like Spring WEb, JPA, MYSQL, LOMBOK
- Project structure -- models, application properties, repository, service, exceptions, controller, dto, configuration
- Adding dependencies BCryptPasswordEncoder and exposing the bean in configuration, so that the user password can we encrypted while signup and login
- By default BCryptPasswordEncoder secures all the endpoints hence does not allow user to even signup or login, hence disabling security for all the endpoints in configuration temporarily.
- Adding JWT dependencies jjwt-api, jjwt-impl, jjwt-jackson, for token based authentication and session expiry