RSSAmplifier

Blog

Mike Alche

Trusted React, React Native and Node.js Software Consulting

mikealche.comRSS feed ↗10 posts

Latest posts

Borges on Kalshi

written by ChatGPT 5.1, prompted by me: In the winter of 2043, the National Archives received a peculiar manuscript: Tratado sobre el Mercado, unsigned, bound in unmarked gray paper. The archivist who catalogued it (a taciturn man named Uribe, whose only known hobby was stamp collecting) initially mistook it for an economics thesis. Its opening Borges on Kalshi Read More

How to add a WordPress Blog to a Next.js app as a subdirectory in the same domain to boost SEO

Hey there! lately I ve been working on a project of mine which is made with Next.js. However, for SEO/Marketing purposes one always has to add a blog to it. Since I don t like the idea of having to use a private CMS (Strapi/Contentful/etc ) as an API and having the sidetracking task of creating a full How to add a WordPress Blog to a Next.js app as a subdirectory in the same domain to boost SEO…

How to use Qdrant Cloud with Node.js

Qdrant is a database that allows doing sematinc search on your content by allowing you to do vector similarity search. That means you can take your embeddings —or vectors, they are practically the same thing— from OpenAI s embedding service, store them in Qdrant, and then perform queries against them. You can use this to add How to use Qdrant Cloud with Node.js Read More

What could you learn from seeing your startup as a neural network?

I m consulting for a company that the had a crucial team member taking extended vacations . Ouch! That made me think of how it was super important not to have single point of failures your team. Meaning, almost always ensure that at least two team members know how to handle a given piece of software or What could you learn from seeing your startup as a neural network? Read More

3 Ideas for Vercel and Next.js

Next.js has become one of my favorite tools for developing SaaS apps. Vercel as well has conquered my heart as Heroku did several years ago. This is a humble list of ideas that I d love to see implemented. I m sure Vercel s leaders have already thought of this. But in any case I d love to share 3 Ideas for Vercel and Next.js Read More

Why should we even do testing?

Image credits xkcd Hey there! Since my last tutorial, I ve talked to many devs learning React to see what was the thing that they were having the most trouble with. The unanimous answer, without a doubt, was testing. Not only they were confused on how to do it but on why they should do it. Why should we even do testing? Read More

How to create a Multi-tenant application with Next.js and Prisma

Multitenancy is the pattern of serving multiple clients from a single codebase. Each client is called a tenant and is able to customize part of the application, i.e: the URL, the branding, some rules, etc The following are some examples of multi-tenancy makes sense: A no-code website creator that also provides hosting. For example, each How to create a Multi-tenant application with Next.js and…

Learn React Animations by Creating a Stripe inspired Menu

I m of the idea that you can very easily distinguish good sites from expert sites. The core difference is in the level of attention to detail. To me, one of the things that subconsciously makes me go Wow! when I see a site are the subtle animations. Take a look at stripe.com for example. They Learn React Animations by Creating a Stripe inspired Menu Read More

A simple explanation to the Monty Hall Problem

The Monty Hall problem is a very well-known brain teaser in statistics. In the problem, you are a contestant on a game show, hosted by Monty Hall. Monty shows you three doors —A,B, and C— behind one and only one of which is a new car (the other two doors have goats). If you guess A simple explanation to the Monty Hall Problem Read More

How to serialize related fields as camelCase in Adonis.JS V5

Hey there! This will be a short post about a small thing that I encountered while using Adonis.js V5 The thing is that the default naming strategy serializes everything but related models as camelCase. To have EVERYTHING serialized as camelCase do the following: 1. Create the CamelCaseNamingStrategy.ts file Then, once you ve done that, register that How to serialize related fields as camelCase in…