Posts
All the articles I've posted.
Converting PascalCase to CamelCase in JavaScript Records Using TypeScript
Published: at 08:00 PMWhen you're knee-deep in data transformations, the little things like converting object keys from PascalCase to camelCase can become surprisingly complex. But what if you're working with TypeScript and need to maintain that strong type checking? In our latest blog post, we delve into this very topic. We dissect TypeScript's `Record` type for maximum flexibility and robustness, explain how `Object.entries()` is a game-changer for object manipulation, and walk you through each step of the conversion process with simple string operations—no regular expressions involved. Whether you're a TypeScript newbie or a seasoned veteran, this post will expand your toolkit for data transformations.
Building, Deploying, and Managing Docker Images with GitHub Actions
Published: at 08:00 PMThis tutorial guides you on how to use Dockerfile, docker-compose, and GitHub Actions for building and deploying applications. It emphasizes the crucial role of DATABASE_URL in the Dockerfile, enabling different connection strings during build and runtime.
Enforcing SSL Connections in MySQL using Docker
Published: at 08:00 PMIn this guide, we secure a MySQL server to accept only SSL connections, minimizing the risk of data exposure. This setup ensures our apps connect securely, protecting sensitive data. By focusing on database connection security, we take a crucial step towards building trusted applications.
Understanding TypeScript's Powerful Type Assertions Through Practical Examples
Published: at 08:00 PMLeverage TypeScript type assertions for dynamic, adaptable object types.
Creating a Custom React Context Provider
Published: at 08:00 PMCreate a reusable React Context Provider in Next.js for managing a searchable cookie list.