Sospeter Mong'are

Sospeter Mong'are @msnmongare

About: Software Engineer passionate about developing for the web

Location:
Kenya
Joined:
Nov 22, 2018

Sospeter Mong'are
articles - 250 total

The Best Workflow for Collaborating on a Shared GitHub Repository

When working on a shared GitHub repository, your workflow can either make collaboration smoothor...

Learn More 1 0Dec 3

How a Junior Developer Should Approach System Design (The Practical, Real-World Way)

Why “necessity is the mother of invention” is the ultimate guide to learning system design. System...

Learn More 6 0Dec 2

API Integrations: High-Level Breakdown

Introduction In modern backend engineering, API integrations are no longer “extra...

Learn More 0 0Nov 25

From 7 Seconds to 600ms: How Smarter Caching Transformed My API Performance

A few days ago, one of my API endpoints was driving me crazy. The first request took almost 7...

Learn More 4 1Nov 12

Understanding Controllers in Express.js

As your Express.js application grows, route handlers can quickly become cluttered with business...

Learn More 0 0Nov 11

A Practical Guide to Structuring Express.js Projects for Scalability and Maintainability

Express.js gives you freedom. It doesn’t force strict rules on where files should go or how your app...

Learn More 0 0Nov 9

Express + MySQL Boilerplate Project Structure (Real App Ready)

project-root/ │ ├── src/ │ ├── config/ │ │ ├── db.js │ │ └── index.js │ │ │ ├──...

Learn More 1 0Nov 7

A Practical Guide to Routes and Routers in Express.js

When you build an API with Express.js, routes are the doors through which requests enter your...

Learn More 0 0Nov 7

Understanding Middlewares in Express.js and How They Work Internally

In Node.js backend development, Express.js middlewares are the invisible engines quietly shaping...

Learn More 0 0Nov 7

Node.js Best Practices for Building Scalable and Secure Applications

Node.js has become a go-to platform for building fast, scalable, and modern web applications....

Learn More 2 2Nov 1

How to Access Your New Linux Server via SSH

Purchasing a new server is exciting, but you might wonder, "How do I actually access it?" If you've...

Learn More 2 0Oct 27

How to Set Up a Node.js CI/CD Pipeline on cPanel Using GitHub Actions and Passenger

If you’re hosting your Node.js application on a cPanel-based server, you can automate deployments...

Learn More 0 0Oct 25

Understanding Array Destructuring in Node.js Database Queries

When working with SQL queries in Node.js (for example, using mysql2, pg, or similar libraries), you...

Learn More 0 0Oct 25

Building a Simple Node.js Server with Express

If you’re getting started with backend development or API design, Node.js is one of the best places...

Learn More 1 0Oct 10

How to Do Polling Requests to an API in JavaScript (with MPESA STK Push Example)

When you integrate payments like MPESA Daraja STK Push, the customer confirms the payment on their...

Learn More 0 0Oct 4

How to Do Polling Requests to an API in JavaScript (Beginner Guide)

When working with APIs, sometimes you send a request but the response takes time. For...

Learn More 1 0Oct 4

Best Practices for Structuring a Node.js Project

When you first start a Node.js project, it’s tempting to throw all your routes, controllers, and...

Learn More 0 0Sep 30

Integrating Lipa na MPESA (KCB MPESA STK Push) with Node.js

Mobile payments are the backbone of Kenya’s digital economy. KCB Bank provides APIs through their...

Learn More 17 4Sep 30

How to Build a WhatsApp Chatbot Using Flaresend API

WhatsApp has become one of the most effective channels for customer communication, marketing, and...

Learn More 0 0Sep 27

How to Secure Your Forgot Password Endpoint (Best Practices for Developers)

The “Forgot Password” feature is one of the most common — and most attacked — endpoints in any web...

Learn More 0 0Sep 18

How to Remove Sensitive or Large Files From Your Git Repository

Accidentally pushing sensitive files like .env or large folders like node_modules to your remote...

Learn More 1 0Sep 18

How to Integrate KCB M-PESA STK Push API

KCB BUNI M-PESA STK Push allows you to initiate payment requests directly to a customer’s phone. KCB...

Learn More 4 2Sep 17

How to Add GitHub Secrets Easily (Step-by-Step Guide)

If you’re using GitHub Actions, CI/CD pipelines, or deploying applications from GitHub, you’ll need...

Learn More 1 0Sep 13

CI/CD Setup for Node.js on Shared Hosting (cPanel)

Shared hosting is primarily designed for PHP websites, but you can run and deploy Node.js apps with...

Learn More 1 0Sep 13

Git Remote Error: “remote origin already exists” And How to Fix It

If you’ve ever tried to add a remote named origin to a Git repository and encountered the...

Learn More 2 0Sep 13

How to Disable Directory Listing in cPanel Using `.htaccess` (Options -Indexes)

If you’re running a website on cPanel shared hosting or any server powered by Apache, there’s a...

Learn More 0 0Sep 13

How to Integrate and Consume an API in Laravel (Step-by-Step Guide)

APIs (Application Programming Interfaces) are essential for modern web applications, enabling...

Learn More 2 0Sep 9

How to Protect/secure Your Callback & Webhook Endpoints

When integrating with APIs from banks, payment providers, telecoms, or SaaS services, you’ll often...

Learn More 3 0Aug 30

Callbacks vs Webhooks When Working with APIs

When building or integrating APIs, you’ll often come across two terms that sound similar: callbacks...

Learn More 0 0Aug 28

Is It Still Worth Learning to Code in an Age of AI and Automation?

Introduction You’ve seen the headlines. AI tools like GitHub Copilot can write entire...

Learn More 3 1Aug 21