I am not going to lie when I say I love writing Jetpack Compose. It’s feels good to be writing one. But, I am also the one who usually does not look into libraries until they are in beta. The documentation reads like this,

Jetpack Compose is currently in beta. The 1.0 API surface is feature-complete but may contain bugs.

Hence Disclaimer

I personally do not think Compose is matured enough to be used in production. With some of its components are currently beta (which is awesome), many of its module libraries are still in alpha, which is subject to change.

However…


Not gonna lie, learning programming language is easy as it gets. I am not talking about learning algorithms or something like that, but I am talking about how to approach starting the new language.

All in all, there could be many programming languages, but they share the same way to start. For instance, all programming languages have variables, it just looks different in different programming languages. Each one of those has if/else control statements and loop. They all share somewhat same structure. This is what makes learning programming languages easy.

But, if it is so easy to start learning programming…


This is a journey of me creating a web-app that runs on the outside of the container to get it running on the Kubernetes, and making it scale as the traffic increases.

the deployment trying to scale to 500 instances


This article is solely about injecting Android Activities in the Dagger. I found that there is a scare in the resources on how to setup using Dagger Android, while there are ample of resources that tell how to do DI with the Dagger. So, here it goes.

I want to see the code right away?

See the commits to see what changed throughout the development. This way, you can implement dagger gradually.

Subclass Application class to begin with

Make sure that your application starts from MyApp class, rather than Android’s default Application class by specifying in the Android Manifest.

<application
android:name=".MyApp"
....

Add Dagger Dependencies

Add the following Dagger dependencies in your Gradle file.

Start off by adding the process

We will…


This is a series of building a scalable web-app using Spring Boot. This comprises of

  1. Building scalable microservices
  2. Building scalable session
  3. Scalable authentication
  4. API Gateway

Here is the chronological order of how I have written these projects:

Using Docker to get MongoDB or any service up and running quickly using Kitematic

Creating web-app using Kotlin, Java, Spring Boot & MongoDB

Building scalable web-app security using Kotlin, Spring Security, Redis and Spring Session

API Gateway using Spring Boot & Zuul (Part 1)

Api Gateway Part 2: Handling Authentication with Spring Boot, Zuul, Spring Session and Spring Security

Api Gateway Part 3: Zuul & Consul


This blog is a part of building scalable Spring Boot microservices based project. It comprises of creating connecting microservices using Zuul, service discovery using Consul, security using Spring Security, distributed session using Spring Session and products such as MongoDB, Redis. Here is the chronological sequence of how I wrote article. https://medium.com/@nepalBrothers/web-development-scalable-web-app-using-spring-boot-and-spring-cloud-1f9960e1d61a

Over the series, we have developed the following architecture with the following:

  1. an API-Gateway using Zuul
  2. stateful microservice Account, whoAmI and stateless microservice Product
  3. Able to handle Authentication by using Account service
  4. Distributed Session using Redis, and database as MongoDB

Show me the code

The code also contains how to run

What can we do more?

Currently, our…


This blog is a part of building scalable Spring Boot microservices based project. It comprises of creating connecting microservices using Zuul, service discovery using Consul, security using Spring Security, distributed session using Spring Session and products such as MongoDB, Redis. Here is the chronological sequence of how I wrote article. https://medium.com/@nepalBrothers/web-development-scalable-web-app-using-spring-boot-and-spring-cloud-1f9960e1d61a

TL;DR Here’s the source code

Api Gateway

This is a microservice project. Therefore, we will need to spin up services the API-Gateway serves.

This is second part of the series of implementing Api-Gateway with Spring Boot. The previous part implemented API Gateway, but it allowed all sorts of traffic. It did not handle any authentication.

Architecture Design

  1. We…


This blog is a part of building scalable Spring Boot microservices based project. It comprises of creating connecting microservices using Zuul, service discovery using Consul, security using Spring Security, distributed session using Spring Session and products such as MongoDB, Redis. Here is the chronological sequence of how I wrote article. https://medium.com/@nepalBrothers/web-development-scalable-web-app-using-spring-boot-and-spring-cloud-1f9960e1d61a

Code:

API Gateway is a concept of having a single point of entry to access all of the services in the backend.

So, when any device wants to access resources from the server, they make a call to the API-Gateway. …


This blog is a part of building scalable Spring Boot microservices based project. It comprises of creating connecting microservices using Zuul, service discovery using Consul, security using Spring Security, distributed session using Spring Session and products such as MongoDB, Redis. Here is the chronological sequence of how I wrote article. https://medium.com/@nepalBrothers/web-development-scalable-web-app-using-spring-boot-and-spring-cloud-1f9960e1d61a

Code is here at:

https://github.com/rockink/account

Building scalable solutions in today’s world is a necessity and also a good practice. One of the challenges of building any website is finding a proper way to handle user authentication. The other challenge is to make authentication scalable.

We will learn in here…


This blog is a part of building scalable Spring Boot microservices based project. It comprises of creating connecting microservices using Zuul, service discovery using Consul, security using Spring Security, distributed session using Spring Session and products such as MongoDB, Redis. Here is the chronological sequence of how I wrote article. https://medium.com/@nepalBrothers/web-development-scalable-web-app-using-spring-boot-and-spring-cloud-1f9960e1d61a

Spring Boot has made it faster to write a web-app. It takes care of lots of configuration and leaves us little to configure. MongoDB is a NO-SQL database that stores the data in a document format. …

Nepal Brothers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store