- Spring Boot Code Structure
It is very important to structure your code in a way that is maintainable and easy to work with. A lot of times developers drag their feet to work on a project that is unorganized and hard to follow. Your team members will appreciate the fact that you took the time to organize your code […]
- Spring Security – Authentication
First you need to the spring-boot-starter-security in you pox.xml Configure Spring security using java. This configuration is for APIs. Here we configure our AuthenticationManager, PasswordEncoder, and web security for http routes. Configure your Authentication Provider Configure your Login Filter…
- Git stash
The git stash command is used to stash away your current work and revert back to a clean working directory which matches the HEAD commit. Let’s say for example that you are in a middle of working on a feature branch and suddenly a customer issue comes up. At this point you want to […]
- Spring boot – bean
Spring beans are Java POJO classes created, wired, configured, and managed by the Spring container from start to finish. The Spring container uses DI to manage the components that make up an application. The Spring container gets its instructions on what objects to instantiate, configure, and…
- Spring Boot Rest