SQL Server is not natively supported on macOS and thus, there is only one option to use it on macOS, and that is via Docker. In this tutorial, I will setup and configure SQL Server database on macOS via Docker, demonstrate how to connect to the database, and also show how to backup and restore the DB. [...]
In this guide, I'll walk you through an approach of utilizing disk cache while using the HTML transform method of the eleventy image plugin. Disk cache is a persistent cache which allows you to not re-optimize every single image at every single build. However, there are some caveats which I ran into while using it with the HTML transform method. [...]
DeepSeek's API is OpenAI-compatible, which makes it easy to plug their models into almost any tool. In this guide, I walk through using DeepSeek via their own API platform and via OpenRouter, plus how to get reliable structured JSON output out of a reasoning model. The same setup works for whatever the current DeepSeek model is, not just R1. [...]
Server Sent Events (SSE), as the name suggests, are a way to communicate with the client by keeping a persistent connection in which the server sends text messages to the client whenever they are available. In this guide, you'll build an SSE endpoint in Node.js with event emitters, subscribe to it using the EventSource API, and handle reconnections. [...]
Hono, as per the docs, was originally built for Cloudflare Workers. It's an application framework designed to work the best for cloudflare pages and workers as well as javascript runtimes Deno and Bun. Although not built specifically for Node, an adapter can be used to run it in Node. [...]
In this tutorial, you will learn how to run PostgreSQL in a Docker container, map its port so tools on your machine can connect to it, persist data using volumes, and manage it with docker compose. [...]
The fix to watching file changes (hot reloading) in docker (Windows) is to use polling. Polling is a way to periodically check for changes. If you want to avoid polling, docker provides a way to watch file changes with the help of "docker compose watch". [...]
Containerization in it's entirety is an incredibly useful concept. From being able to execute applications in isolation, to being able to port them easily with all of their dependencies and configuration is all a developer could ask for. [...]
WebSockets implement a full-duplex, bi-directional, TCP-based protocol, denoted by ws(s)://, which enables a persistent connection between the client and the server. Here's how the protocol works under the hood, and how to build a websocket-powered chat app using Node.js and the ws library. [...]
Vercel is a platform to host frontend applications and static sites but you can also host an Express application using serverless functions. In this tutorial, I will show how you can create an express.js app from scratch and deploy it to vercel. [...]