Photo by Maksym Kaharlytskyi on Unsplash

Introduction

Spring Boot is an awesome Java web framework that is very comparable to Laravel web framework (in PHP). They both aim at making web application development fast and less rigorous for a developer.

Laravel has a cool feature that allows developers to create Seeders — i.e. default data to be inserted in the database.

In this article, we are going to see how to achieve the same thing in Spring Boot. The strategy thas we are using here is simple and straightforward : First, we will create a listener that listen to the application’s (1)The event is fired…


Photo by KOBU Agency on Unsplash

What is Tailwind CSS

Tailwind CSS is a utility-first css framework. It isn’t similar to other css framework. It doesn’t offer predesigned components like buttons, cards, alerts…
Instead, Tailwind provides low-level utility classes that let you build completely custom designs without ever leaving your HTML

Why use Tailwind CSS

Maybe you still not convinced to use Tailwind and betray other frameworks like Bootstrap, Foundation or Bulma. Let me give you some reasons why to consider using Tailwind CSS.

A utility-first framework

Let’s first discuss what utility-first css term means. …


A classical problem: how to design a table so that it can keep historical changes in database?

Photo by Fredy Jacob on Unsplash

Imagine you have a demands table, which has the following fields:

Demands

Here comes the business requirements: the users want to keep the historical changes for the demands table for future usage, e.g. data analysis / auditing.

How to design such a table which can keep the historical changes?

I have 3 different approaches to solve the problem.

1. Use Effective From and Effective To Fields

I DON’T like this approach but I’ve seen people practicing it, struggling with it but still insisting to do it. …


React/QraphQl/Hasura

Welcome everyone,

If you didn’t read the first part, here is the link : Part 1

In he first part, we have created the server, Backend with Hasura and GraphQL, so we need to build a Frontend to consume it.
I have chosen React as a tool to do the mission.

1. Set-up the environment :

→ First of all, let’s create a new React app using terminal :

→ Then, inside the app folder, we run the command :

Each of these tools are for a good reason. In fact, graphql and apollo are…


Introduction

In this tutorial, I will show you how to create a complete Back-End from scratch, using Hasura.

Anasselbaz

Developer @AE | Fullstack Dev

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