---
title: "Gassai Hamza (@gassaihamza) | Hashnode"
description: "programming. Read the latest articles by Gassai Hamza on Hashnode."
url: "https://hashnode.com/@gassaihamza"
---

@gassaihamza

# Gassai Hamza

@gassaihamza · Joined June 2021

programming

### [How to Dockerize a Spring Boot App with PostgreSQL](https://potatoesblog.tech/how-to-dockerize-a-spring-boot-app-with-postgresql?utm_source=hashnode&utm_medium=feed)

A step-by-step guide to containerizing a Spring Boot app with PostgreSQL

7 min read · [potatoesblog.tech](https://potatoesblog.tech/how-to-dockerize-a-spring-boot-app-with-postgresql?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/how-to-dockerize-a-spring-boot-app-with-postgresql/643f2b2e38533f6a74503c1d) [Apr 18, 2023](https://hashnode.com/posts/how-to-dockerize-a-spring-boot-app-with-postgresql/643f2b2e38533f6a74503c1d)

### [How to change the last commit message in git?](https://potatoesblog.tech/how-to-change-the-last-commit-message-in-git?utm_source=hashnode&utm_medium=feed)

In this blog we are going to learn how to change the last commit message using --amend

2 min read · [potatoesblog.tech](https://potatoesblog.tech/how-to-change-the-last-commit-message-in-git?utm_source=hashnode&utm_medium=feed)

[Jan 19, 2023](https://hashnode.com/posts/how-to-change-the-last-commit-message-in-git/63c99201c51dafca46ca06f7)

### [How I created a directive in Angular that renders components only if user is authorized?](https://potatoesblog.tech/how-i-created-a-directive-in-angular-that-renders-components-only-if-user-is-authorized?utm_source=hashnode&utm_medium=feed)

Recently, I was working on an Angular project where certain components were public meaning that everyone should see them and others should be rendered only if the user is authenticated or have a specific role, so I was doing something like this: <!--...

3 min read · [potatoesblog.tech](https://potatoesblog.tech/how-i-created-a-directive-in-angular-that-renders-components-only-if-user-is-authorized?utm_source=hashnode&utm_medium=feed)

[Jan 17, 2023](https://hashnode.com/posts/how-i-created-a-directive-in-angular-that-renders-components-only-if-user-is-authorized/63c6c1357feb3ddc54cbf049)
