Skip to main content

Posts

Showing posts from September, 2026

🚀 KODEX: Building a Secure Local-First AI Workspace with Next.js, Go & Rust

AI applications are becoming increasingly powerful, but building a serious AI workspace involves much more than connecting a frontend to an API. KODEX is my approach to building a self-hosted, local-first AI workspace designed around agents, tools, model routing, security boundaries and isolated services. Instead of building everything inside one application, KODEX separates responsibilities across multiple services written in Go and Rust , with a modern Next.js frontend. 💡 Project Focus: KODEX Phase 1 focuses on establishing the foundation: authentication, model routing, secure secret handling, network isolation, service boundaries, database separation and a working local-first AI workspace. Layer Technology Responsibility Frontend Next.js + TypeScript Login and AI chat interface ...

From Git Push to Production: Building a Real CI/CD Pipeline with GitHub Actions, Docker & AWS

Welcome back to the KpolitX tech blog! In the previous articles, we looked at building applications and working with backend technologies. This time, we are moving one step further into the world of DevOps and cloud deployment . Building an application is only one part of software development. The more interesting question is: What happens after you push your code to GitHub? In this project, I built a small Flask application called VaultMart and used it as a practical way to understand how a complete CI/CD pipeline works with GitHub Actions, Docker and AWS . 💡 The goal: Build a workflow where a code change can automatically move through testing, Docker image creation, AWS ECR and deployment to an EC2 server. The final workflow looks like this: Code Change ↓ Git Push ↓ GitHub Actions ↓ Pytest ↓ Docker Build ↓ Amazon ECR ↓ AWS Systems Manager ↓ Ama...

Building Your First API in Go: REST vs. gRPC Compared

Welcome back to the KpolitX tech blog! In our first post, we built out a pristine development environment. Now, it is time to put that environment to work by building a foundational backend component: an API. When building microservices or backend applications in Go, two primary architectural patterns dominate the conversation: REST (Representational State Transfer) and gRPC (Google Remote Procedure Call) . In this guide, we will break down the fundamental differences between them and look at how they perform in code. 1. The Core Philosophical Differences REST (JSON over HTTP/1.1): REST has been the web standard for decades. It is resource-oriented, uses human-readable JSON payloads, and relies heavily on standard HTTP methods (GET, POST, PUT, DELETE). It is universally compatible with web browsers. gRPC (Protocol Buffers over HTTP/2): Developed by Google, gRPC uses binary serialization (Protocol Buffers) and runs on HTTP/2. Instead of exposing web resou...

Setting Up the Ultimate Development Environment: From Zero to Code with KpolitX

 Welcome to the official KpolitX tech blog! Today, we are kicking things off by pulling back the curtain on how to set up a robust, efficient, and multi-language development environment from scratch. Whether you're working with systems languages like Go and Rust, or building full-stack web applications, having a clean workspace is the foundation of writing great code. In this guide, we will walk through setting up a professional developer workstation step by step. Step 1: Choosing and Configuring Your Editor Every good developer environment starts with a powerful code editor. Visual Studio Code (VS Code): Highly extensible and lightweight. Essential Extensions: GitLens for advanced version control tracking. Language-specific extensions (like the official Go and Rust Analyzer extensions). Docker extension to manage containers directly from your editor sidebar. Step 2: Setting Up the Toolchain (Go & Rust) To handle modern multi-language and systems programming tasks, you ne...