Skip to content

opeolluwa/blog

Repository files navigation

Blog Posts

A repository to house code for my blog posts on Hashnode and Medium.

In this post I exemplified how to set up an email server in Rust programming language. The code for this post can be found here. It is written in Rust using the lettre crate, and the Axum web framework. The code is a simple email server that listens on localhost:3000 and sends an email to the recipient specified in the request body. The email server uses the lettre crate to send emails and the Axum crate to handle incoming HTTP requests.

The post is about my experience with regular expressions in Rust. The code for this post can be found here. It is written in Rust using the regex crate.

The blog post exemplified several use cases of Regex, this include:

  1. Email Validation
  2. Password Strength Validation
  3. URL Validation
  4. Enforcing Date Format
  5. Nigerian Phone Number Validation

In this post, I discussed how to set up a Kafka cluster and how to produce and consume messages from the cluster using Node.js. The code for this post can be found here. it is written in JavaScript for brevity.