This tutorial will go through the steps to set up routing with express.js and some best practices. This post follows the setup of the Express.js backend system described here: How to set up a Node.js backend using Express.js and TypeScript What is routing? A route is...
Stephane’s Blog
8 Reasons to consider TypeScript for your next development project
If you're looking for a more structured and sophisticated web development project language, TypeScript might be the right choice for you. Here are 8 reasons why you should consider using it for your next project: 1. It can make code much more readable and organized....
Why I use VSCode as an IDE
I have been a VSCode user for some time now and I am very happy with the decision. The benefits that VSCode has to offer are so many it is hard to list them all in one post, but here are just a few of the reasons why VSCode is my IDE of choice. VSCode is my go-to IDE...
How to setup a Svelte with Typescript project
TypeScript is a superset of JavaScript that provides optional static typing, classes, and modules. Static types allow TypeScript to provide more accurate type checking and tooling support. Classes and modules enable better organization of your code. TypeScript can be...
How to set up a Node.js backend using Express.js and TypeScript
Node.js is one of the most popular node frameworks for web developers today, and when combined with Express.js, it can be even more powerful. Express is a node framework that lets you build node apps in an easy way by using node's built-in middleware concept. This has...
How to create a custom React hook to fetch an API (using TypeScript)?
Hooks are convenient for modern react development. The react framework comes with standard hooks to manage state, for example, with useState, and here we will write our hook to fetch data from any API. Buț first … … what is a hook? A hook is a javascript or typescript...
How to improve the use of the console in javascript
When we develop, and not only in javascript, it is regularly necessary to read the information contained in a variable or the execution result. In javascript, we have the Console object, which allows us to ask the program to write a message or a result during its...
Le currying en javascript, application pratique
Dans un précédent post, j’ai abordé le principe de base du currying en javascript, en montrant comment on peut faire un usage partiel d’une combinaison de fonctions. Aujourd’hui je vous propose de réaliser une fonction permettant de filtrer une collection basée sur ce...
Comment éviter null et undefined avec Maybe et Result en javascript
Il existe beaucoup d’outils, de fonctions et de techniques pour évaluer si une variable existe, si elle est bien définie et si elle n’est pas nulle. En travaillant sur un projet suivant le paradigme de la programmation fonctionnelle, j’en ai pratiqué un qui mérite une...
3 alternatives à if & else pour améliorer la lecture du code en javascript
Ecrire des conditions pour tester des expressions et des variables fait partie de la logique de base.En javascript la condition if, else if, else est largement utilisée mais peut dans certains cas devenir lourde à écrire ou relire, ou peut être simplifiée et offrir...

Hey my name is Stéphane
I’m a french product guy who likes technology, Apple, apps, gadgets and cats. I like to write about these passions, no-code and web development.