Firebase and Spring Boot Based Role Management and Authorization

In the previous post we configured spring boot security with firebase to seamlessly authenticate rest api ( https://thepro.io/post/firebase-authentication-for-spring-boot-rest-api-5V ) . In this post, we will restrict access to resources based on firebase roles. We are going to utilise firebase’s claims object inside UserRecord class to store roles, which is its actual purpose as per firebase documentation. To … Read more

How to deal with Docker hub rate limit

Docker hub has on November 2020 implemented rate limiting of 100 image pulls per 6 hours for anonymous users and 200 image pulls per 6 hours for free users. In this article let us see how you can deal with the limitation. With so many projects being containerised, considering the amount of images being pushed … Read more

Setting up Raspberry Pi for UI Development

This post is a followup to my previous post on using raspberry pi 4 as a daily driver or secondary development PC https://thepro.io/post/minimal-setup-for-a-modest-daily-driver-raspberry-pi-based-development-pc–YO . In this post, we will be setting up node.js and visual studio code on raspberry pi 4 for UI development. Overclocking I feel that without overclocking, the raspberry pi 4 is slow for … Read more

Setting up Raspberry Pi for Spring boot development

You may want a secondary development machine or you may only have a Raspberry pi for development, either way I want to say that it is very much possible to use Raspberry pi for java and spring boot development. This is a followup to my previous post https://thepro.io/post/minimal-setup-for-a-modest-daily-driver-raspberry-pi-based-development-pc–YO . Overclock These overclock settings are for raspberry pi … Read more

Managing complex application properties with Spring Boot

Spring boot supports dynamic configurations through application properties. A fluid and configurable application is easier to manage in production owing to changing needs, where otherwise a wait till another deployment can be avoided. let us explore some of the complex ways to pass and consume configuration properties through spring boot. @Value Annotation : To consume … Read more

Simple modal component using styled components

Styled component is a react library that enables developers to write integrated programmable styles within their react components. We start with a react starter app and install styled-components Then create a functional component and import styled-components and define all the layers of a Modal component and style of them. A div block to position its … Read more

Spring Boot and DigitalOcean Spaces for File Storage

Digital Ocean Spaces is an object storage solution and one of the cheapest out there right now. Integration for various languages is supported through API’s and AWS SDKs. In this post we will try integrating DigitalOcean Spaces with Spring Boot using AWS SDK with a practical demo UI built with Nextjs. I have come to … Read more

Firebase with Spring Boot Kubernetes Deployment configuration

man in black and white plaid dress shirt

Firebase setup with spring boot is pretty straight forward and so is configuring it for kubernetes. Do check out my previous post on firebase for spring boot setup https://thepro.io/post/firebase-authentication-for-spring-boot-rest-api-5V In local development environment placing firebase service account file somewhere on file system and mapping it to environment variable GOOGLE_APPLICATION_CREDENTIALS is sufficient to get it working. Doing … Read more

Minimal setup for a modest daily driver Raspberry Pi based development PC

During the pandemic lockdown I had a few unfortunate instances where my mac book charger died on me and then the a couple of keyboard keys got stuck, adding to this, online purchases and delivery was not available at the time. I had to look for an alternative for my development activities and as a … Read more