Category: Web
-
Multi-Environment Configuration in Spring Boot

In this article, I talk about the importance of proper configuration in Spring Boot applications across multiple environments. By using Maven profiles, environment variables, and CI/CD pipelines, developers can maintain clean and flexible configurations. The goal is to ensure a seamless application experience whether running locally or in production, without the risk of misconfigurations.
-
React Performance Tips and Tools

In this article, I discuss the importance of optimizing React app performance, placing the responsibility on developers rather than blaming users. I highlights common issues, such as unnecessary re-renders, inefficient state management, and large bundle sizes. Solutions include memoization, flattening component trees, state centralization, code splitting, and using appropriate tools for diagnosis and improvement.
-
Forms in React, with or without React Forms

Forms in web development are essential for user interaction, yet often frustrating. This content compares traditional HTML forms with React Form Components, discussing their pros and cons. Basic forms are simplistic but limited in validation, while React libraries enhance user experience with advanced features. Choose based on form complexity and validation needs.
-
SQLAlchemy and JSON values

Storing JSON in a relational database? Sounds like a contradiction, but sometimes, it’s the best solution. SQLAlchemy makes it easy to use a JSON column in Postgres—until you try to update a single value inside it. Turns out, SQLAlchemy doesn’t track those changes by default, leading to silent failures. The fix? Marking the column as…
-
Deploying a Spring Boot Application to AWS ECS Fargate

Why AWS ECS is Your New Best Friend for Microservices So, you’ve built a shiny new Spring Boot application, and now you’re wondering how to deploy it without losing your sanity. Enter AWS ECS (Elastic Container Service), the managed container orchestration service that lets you run Docker containers without having to babysit a Kubernetes cluster.…
-
Handle The Errors with Flask Correctly

Effective error management in Flask applications is crucial for security, usability, and debugging. Implement custom exceptions to centralize handling and use blueprints for clean error responses. Additionally, log useful details while avoiding exposing sensitive information. This strategy ensures a better user experience and maintains application integrity.
-
How to Center Content into a DIV with CSS

It’s always hard to centering content in a div using CSS, particularly for backend developers. I advocate for the use of Flexbox, explaining properties like display, justify-content, and align-items to achieve perfect central alignment. Understanding these concepts eases the frustration of frontend tasks.
-
Forgot Password Feature with Python and Flask

The article discusses user authentication options, highlighting the “Forgot Password” feature implementation using JWT in Python and Flask. It outlines a secure workflow for resetting passwords via email, emphasizing the importance of short-lived JWTs for security. Proper authentication procedures enhance user trust and experience in applications.
-
How to Solve the CORS error with Flask

This article addresses the common CORS error faced by web developers when connecting a front-end application to a Flask API. It explains the security reasons behind CORS policies, the role of preflight requests, and provides solutions using Flask-CORS.
-
OAuth2, Which Workflow to Choose?

In this article, we’re breaking down the essentials of OAuth2, from the classic Authorization Code Flow to the more modern and secure PKCE. Along the way, you’ll learn which grant types fit your project’s needs (and which ones you should leave behind in the digital dust). And don’t worry—I’ll sprinkle in some jokes to keep…
