Implementing a Simple REST API in ExpressJS and Consuming it from Client, Server or using CURL/Postman

admin  

In this tutorial we're going to implement a simple REST API in nodejs, exploring different options, by installing express directly as a npm package or using the express generator. Then we'll consume the api from browser, curl, backend or curl


Implementing Express Middleware for Preparing Components Data

admin  

Using Express middleware to prep data for your app's components is like having a handy multitool. It helps you clean up, organize, or check your data before it hits your main code, making things run smoother and smarter.


Understanding Middleware Types and Invocation Order in Express Applications

admin  

Middleware in Express sorts out requests and responses, tackling everything from data parsing to security. Though often misunderstood, getting a grip on the different types and their order can seriously level up your web apps, making them slick, secure, and speedy.


Write Your Own OTP Authenticator In Javascript and NodeJs

admin  

This tutorial will guide you through building a command-line OTP authenticator similar to Google Authenticator, using the speakeasy library for generating TOTP (Time-Based OTP) codes, and prompt-sync for handling user input.

    NodeJs

Handling Errors In ExpressJS Web Applications

admin  

Mastering error handling in ExpressJS: Prevent crashes and enhance stability with effective strategies for managing unhandled rejections and exceptions.

    Express

ExpressJS: Implementing Multi-Language Support

admin  

Enhancing ExpressJS applications with modular routing and multi-language support: A step-by-step guide to seamlessly serve global audiences by integrating language-specific content paths, ensuring both the primary language and additional languages are accessible through intuitive URL structures.

    Express

React Patterns: Context API, A Practical Example of the Publisher-Subscriber Pattern and Dependency Inversion Principle

admin  

Understanding React Context: This tutorial breaks down how to manage global state with React's Context API, using the Publisher-Subscriber Pattern and Dependency Inversion Principle. It simplifies sharing data across components and keeps your app organized.


How to use Open Graph Meta properties and tags: Examples, og:image, og:type

admin  

A small investigation on what properties and tags are defined in Open Graph Meta protocol: Examples, og:type,og:image

    WebDev

Consume ES Module Libraries from CommonJS Apps By Creating a Simple Node Server

admin  

If you want to use ES Module Libraries from CommonJS Apps or you endup in a version or depdency hell, or even want to use nodejs libraries from other languanges like python you can easily expose them as APIs


Converting a Database From Mysql to Sqlite

admin  

Check how to convert a database from MySql to Sqlite using mysql2sqlite and a docker container with MySQL and Adminer

    Infra