Technical Debt Explained
Code Complete
by yogesh.mali@gmail.com
2w ago
Tech Debt aka technical debt is part of the software engineering development process. This is also known as Code debt sometimes. The immediate question that pops up is all tech debt bad? The simple answer to that question is – It depends. Some tech debt is intentional and some is unintentional. As we explore this […] The post Technical Debt Explained appeared first on Code Complete ..read more
Visit website
How To Implement Two-Factor Authentication with Spring Security – Part II
Code Complete
by yogesh.mali@gmail.com
2w ago
With security threats rising, it becomes important to secure accounts. In my previous post, I showed how to sign up for two-factor authentication with spring security. In this post, I show how to log in with two-factor authentication with spring security.  Before a user can log in, the user needs to register for the application. […] The post How To Implement Two-Factor Authentication with Spring Security – Part II appeared first on Code Complete ..read more
Visit website
How To Implement Two-Factor Authentication with Spring Security
Code Complete
by yogesh.mali@gmail.com
2M ago
This is a two-post series in which I will show how to implement two-factor authentication with Spring Security. In this post, we will cover how to implement user registration for two-factor authentication. Sometimes two-factor authentication is also known as multi-factor authentication (MFA). Previously, I have covered different Spring Security scenarios. If you want to start […] The post How To Implement Two-Factor Authentication with Spring Security appeared first on Code Complete ..read more
Visit website
Communication Patterns between Microservices
Code Complete
by yogesh.mali@gmail.com
3M ago
In this post, I will cover different communication patterns between microservices. As microservices have become more industry pattern, it has also become important how these microservices communicate with each other. The most common pattern for communication has been synchronous REST API calls. But this pattern comes with its own set of trade-offs. Another pattern is […] The post Communication Patterns between Microservices appeared first on Code Complete ..read more
Visit website
Basic Authentication with Passport in NestJS Application
Code Complete
by yogesh.mali@gmail.com
4M ago
In this post, I will show how to implement basic authentication using Passport.js in a NestJS Application. So far in the NestJS series, we have covered How to use CORS in a NestJS Application Adding Health Checks in a NestJS Application Using Bull Queues in a NestJS application Upload file to S3 using NestJS Application […] The post Basic Authentication with Passport in NestJS Application appeared first on Code Complete ..read more
Visit website
Upload File to S3 Using NestJS Application
Code Complete
by yogesh.mali@gmail.com
5M ago
In this post, I will show how to upload a file to S3 using a NestJS application. S3 is Amazon’s Simple Storage Service (S3). In old systems, one could upload files to a database. But with storage services, it is easier to upload and retrieve files. This is also more performant. If you are a […] The post Upload File to S3 Using NestJS Application appeared first on Code Complete ..read more
Visit website
How Spring Security Filter Chain Works
Code Complete
by yogesh.mali@gmail.com
6M ago
In this post, I will discuss how the Spring Security Filter chain works. Spring Security uses a chain of filters to execute security features. If you want to customize or add your own logic for any security feature, you can write your own filter and call that during the chain execution. Introduction If you use […] The post How Spring Security Filter Chain Works appeared first on Code Complete ..read more
Visit website
Microservice Example Event Source Architecture
Code Complete
by yogesh.mali@gmail.com
6M ago
In this post, we will build a simple microservice using an Event Source architecture pattern. Previously, I discussed Event-Driven architecture. This post will be more elaborative on how one can build a microservice with this pattern. But before we do that, let’s look at some fundamentals. Event Sourcing Event sourcing is an append-only log of […] The post Microservice Example Event Source Architecture appeared first on Code Complete ..read more
Visit website
7 Advantages to Use Test Driven Development
Code Complete
by yogesh.mali@gmail.com
8M ago
Test-Driven Development (TDD) is a technique to write software by writing tests. This allows developers to be more proactive in their approach to what can break the software. In this post, I show 10 advantages to use test-driven development approach to build better software. What is Test-Driven Development? Let’s start with the fundamentals of test-driven […] The post 7 Advantages to Use Test Driven Development appeared first on Code Complete ..read more
Visit website
How to Connect to a Database from Spring Boot
Code Complete
by yogesh.mali@gmail.com
9M ago
In this post, I will show how we can connect to a database from Spring Boot Application. This post will focus on relational databases, but you can also connect MongoDB from Spring Boot application. Add the database dependency To connect your Spring Boot application to the database, you can add either of the following dependencies […] The post How to Connect to a Database from Spring Boot appeared first on Code Complete ..read more
Visit website

Follow Code Complete on Feedspot

Continue with Google
OR