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 ContextRefreshEvent (1). The event is fired…
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
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.
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?
Imagine you have a demands table, which has the following fields:
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.
I DON’T like this approach but I’ve seen people practicing it, struggling with it but still insisting to do it. …
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.
→ First of all, let’s create a new React app using terminal :
npx create-react-app movies
→ Then, inside the app folder, we run the command :
In this tutorial, I will show you how to create a complete Back-End from scratch, using Hasura.
Developer @AE | Fullstack Dev