Published inAWS Tip·Aug 30Member-onlyAccurately Typing DynamoDB Data from the AWS SDK using TypeScriptLearn how to accurately and easily type data retrieved from a DynamoDB table via the AWS SDK using TypeScript and how to avoid using any types! This post was originally published on my blog on 10th August 2023 If you’ve ever tried building a project with DynamoDB and used the AWS SDK with TypeScript to read and write data to the database…AWS5 min readAWS5 min read
Published inAWS Tip·Aug 14Member-onlyHandling Contact Forms Submissions With a Custom REST API using AWS SES, API Gateway, and LambdaLearn how to build a REST API to handle contact form submissions using AWS SES, Lambda, and API Gateway via the AWS CDK. And, how to test it using Postman. When it comes to building contact forms for a website, you could use a paid service to handle the sending…AWS9 min readAWS9 min read
Published inAWS Tip·Aug 4Member-onlyReducing Latency: Pre-Warming Lambda Functions with EventBridge RulesLearn how pre-warming Lambda functions using EventBridge rules can drastically reduce latency and improve performance and if they’re right for you. For any application, it’s important to have low latency times to ensure a fast and responsive experience for users. But, this is especially true for serverless applications; they need…AWS7 min readAWS7 min read
Published inAWS Tip·Jul 5Member-onlyHow to Build a REST API With the AWS CDK Using API Gateway, Lambda, and Dynamodb With API Key AuthenticationLearn how to build a REST API with API key authentication using AWS API Gateway, DynamoDB, Lambda, and the AWS CDK as well as how to test it with Postman. APIs are a common occurrence in the developer world and for a good reason, they allow us to easily connect…AWS14 min readAWS14 min read
Feb 6How to Build a Contact Form With Next.js and AWSIt’s pretty common nowadays to have a contact form on your website to make it a super simple process for people to contact you. …AWS13 min readAWS13 min read
Oct 21, 2022Dynamically Wrapping Strings in HTML Tags Using ReactJS and RegexWhether it’s adding code tags to titles or something else, wrapping strings in HTML tags can be a helpful tool. Here’s how to do it in ReactJS. — The other day while working on my personal blog I noticed that I had several blog posts that reference inline code blocks in the title but they would be rendered straight to the page as strings but surrounded by ``. …JavaScript6 min readJavaScript6 min read
Oct 3, 2022Member-onlyHow to make a flicker-free dark theme toggle with Next.js, TailwindCSS, and next-themesHave you ever added a theme toggle to a website? Have you also tried to remember the user’s preference so they see the same theme when they visit again? Yes? Then my final question is, have you ever been greeted by a flash of the wrong theme on page load…Nextjs9 min readNextjs9 min read
Oct 3, 2022Member-onlyHow to Automatically Publish and Maintain an NPM Package Using `semantic-release`Creating NPM packages is an easy and convenient way to share reusable snippets of code for both yourself and others to consume in future projects. They could be as simple as an ESLint configuration or as detailed as a data fetching package or something else entirely. …NPM7 min readNPM7 min read
Published inGeek Culture·May 27, 2021Member-onlyCreating Linked Blog Post Headers using MDX on GatsbyJS.MDX is a great way to blog if you’re a developer. I’ve been using it on my personal website for a few years now and have had very little reason to switch from it. One of it’s biggest pros is how flexible it is. If you want to add some…JavaScript4 min readJavaScript4 min read
Apr 19, 2021Member-onlyThree Tools to Increase Your Productivity As a Developer.Being productive is more than getting work done. Being productive is using our time to its greatest potential. By increasing our productivity we increase the return we get relative to the amount of effort we put in. To ensure we stay on target and are always being as productive as…Productivity5 min readProductivity5 min read