About Bits
Back to homepage
Blog
Read our latest tips, tricks and thoughts.
2023-01-17
Building components in Figma
In this post, we will show how you can create a button component in Figma with different variants and what advantages it can give to your design
tagged:
Figma, Components, Component library, UI/UX design, Design system, Button
2022-11-08
How to keep time zone information for timestamps in Postgres
In this post, we will show how Postgres handles timestamps with time zones, and why we need an extra column to store the original time zone information, if we do not want to loose it.
tagged:
Database, PostgreSQL, Timestamps, Timezones, timestamp with time zone
2022-09-20
Custom Spring Boot validation annotations
In this post, we will show you how you can implement your own custom validation annotations for Spring Boot and how to assign the error messages to the right fields. As an example we will implement a valid password check and a password confirmation validation.
tagged:
Spring Boot, Annotation, Field Validation, Field Confirmation, Password Confirmation
2022-07-29
How to split the GraphQL schema definition into multiple files
In this article, we will take a look at how to make GraphQL schema files more manageable by splitting the GraphQL schema definition into multiple files.
tagged:
GraphQL, Schema, Extend
2021-12-10
PWAs and the future of the web
This article is an introduction to progressive web apps (PWA). It demonstrates why they are awesome, but also what the drawbacks are.
tagged:
PWA, Progressive Web Apps
2021-09-24
A React package to manage loading and error states when dealing with asynchronous data calls
This article is an introduction to our AsyncView component, used to manage loading and error states of an API call.
tagged:
React, Package, Open Source, Loading State, Error State, UX
2021-08-04
The complete guide to responsive images
This guide will show you what is the best implementation for responsive images according to your needs. We will show how to improve performances when loading images, and how to manage different images in the same element for different screen sizes.
tagged:
Responsive Images, HTML5, CSS, Images, PWA, SEO, Performance Optimization
2021-03-24
AWS Cognito - Mock users in Spring Boot integration tests
A tutorial about how to mock the security context of an AWS Cognito user in Spring Boot integration tests. This guide shows you how you can annotate an integration test and simulate a test case with a logged in user.
tagged:
OAuth 2.0, AWS Cognito, Spring Boot, Spring Security, Java, Testing
2021-03-22
AWS Cognito - Extract groups in a Spring Boot application
A tutorial about how to extract user groups configured in AWS Cognito in a Spring Boot application and make them available for role based Spring Security annotations.
tagged:
OAuth 2.0, AWS Cognito, Spring Boot, Spring Security, Java
2021-03-11
Using Github Actions to Automatically Increment NPM Version before Deployments
This tutorial demonstrates how to automatically increment the package.json version number before releasing an application using GitHub actions. In addition, it shows how to pass the version number to your code and display it to the user, so that it can later be used for debugging and bug reports.
tagged:
GitHub Actions, CI/CD, Continuous Integration, NPM, Version Increment
2021-01-19
The min/max strategy for estimating projects
A strategy for estimating projects, that should reduce the risk of mixing up the estimation process with the final decision of the price for an offer. In addition, this strategy forces you to think about unexpected and unplanned things.
tagged:
Project Management, Estimation
2020-11-23
Keycloak - Custom Event Listener
A tutorial about how to create and deploy a custom event listener for Keycloak. This guide is an example implmentation of a listener that sends notifies an admin via email on every new sign up.
tagged:
Keycloak, Tutorial, Java, Custom Event Listener
2019-12-10
Free Software Conference - South Tyrol 2019
For the SFSCon we prepared two talks about Elasticsearch. Alex exlpains how Elasticsearch can help you solve common problems when you build a full text search. Martin talks about how you should write to Elasticsearch to keep the search speed under control.
tagged:
Elasticsearch, SFSCon, Kafka, Full-Text Search
RSS Feed