Featured image of post Infrastructure@Home: Using Ansible to Install the Service Monitoring Software Consul

Infrastructure@Home: Using Ansible to Install the Service Monitoring Software Consul

Consul is a service monitoring and discovery software. It helps us to define, monitor and connect services that run on our nodes. A service is any software, for example a web server, an application, and it can run on the nodes itself or inside a container. Consul provides a command line interface, HTTP API enpoints, and a Web UI to monitor all systems.

Featured image of post Structuring React Projects

Structuring React Projects

So, you setup the project with create-react-app. You have a file `App.js` and a folder `components`. You start writing your functions, adding new components day by day. And suddenly, there are 30 files in the same folder, and you are lost.

Featured image of post React: Creating a Custom Hook for Pagination

React: Creating a Custom Hook for Pagination

A custom hook is a React functional component which exports props where at least one prop is prefixed with the keyword `use`. The `use` prop acts like a constructor: It defines the initial value that the functional component needs. Other props can be functions or state values of your hook - you decide what you want to expose.