Latest posts:

  • Deploy multiple Docker containers using Github Actions and Heroku

    DockerDocker ComposeHerokuGithub ActionsFullstack - Client Side RenderingCI/CD

    It is very common to deploy apps using CI/CD (Continuous Integration / Continuous Delivery). Actually, depending on which cloud application platform provider you use

    ...Read more →
  • Create an ascending and descending sort function

    JavascriptTypescript

    You will often see on many sites containing some sort of list or table, that it is organised in a particular order, could be by title order, name order or even

    ...Read more →
  • How to create a controlled form component with React-Typescript

    JavascriptTypescriptReact

    It is always tricky when creating forms, especially when it is a large form. You have to configure your inputs you want the user to insert but also be able to collect

    ...Read more →
  • Create timestamp in SQL format

    JavascriptSQLRegular Expression

    Sometimes the client side has to produce the date of the user interaction before sending it to the server api. And sometimes they have to format the date and time

    ...Read more →
  • Create an Axios instance

    JavascriptAxiosREST API

    If you are into programming, then you will likely have heard of DRY (don' repeat yourself). Basically, writing the same code repeatedly can be quite tedious. And it

    ...Read more →
  • Create a React HOC scaffold

    ReactJavascript

    React components are the most common function you will use. I doubt you will be able to get much done without it. But there are occasions when you want to implement

    ...Read more →
  • Most common HTML entities you will use

    HTML

    When writing in HTML, you have to follow the conventional tag structure and its keyword characters, and the same goes along with some other framework languages too,

    ...Read more →
  • Capitalise the first character of a word

    JavascriptTypescript

    There are some occasions when we will need to capitalise on the first character of a word. Mostly, capitalising names is the most commonly used. But regardless of what

    ...Read more →
  • Create a dictionary object with Typescript interface

    JavascriptTypescript

    When using Typescript, you sometimes have to define the type of value for any variables. Most of the time, Typescript is smart enough to know what the type is, but

    ...Read more →
  • Parse SQL timestamp

    JavascriptSQLRegular Expression

    If you regularly collect api data from the server, you might sometimes notice something peculiar when gathering the date data. The date value could appear as 2021-06-01T11:08:01.000Z.

    ...Read more →