Creating a custom REST endpoint route in WordPress and saving data to the database

Creating a custom REST endpoint route in WordPress and saving data to the database

a year ago, September 28, 2024

Creating a Custom REST Endpoint Route in WordPress You might want to create a custom REST endpoint route in your WordPress site for several different reasons. To create a custom REST API route in WordPress, you can use the register_rest_route function in your theme’s functions.php. This function allows you to define your own endpoints that handle specific requests. […]

Backend to go! Bare minimum Lambda HTTP endpoint

Backend to go! Bare minimum Lambda HTTP endpoint

a year ago, September 28, 2024

Scenario So you are developing a web or mobile app that is mostly static except for this one feature that would require a backend/database to store data.We will be looking at the solution that would require least effort and knowledge of AWS technologies. Prerequisites Why? As described in the Scenario, you don’t want to spend […]

Using font icons in Webflow in seconds (the easiest way)

Using font icons in Webflow in seconds (the easiest way)

a year ago, September 28, 2024

Using font icons in webflow may be tricky if you are coming from a front-end web development background. You might be comfortable using Font Awesome or Fontello, etc. Where you may be used to using class names to choose from your icon set. In Webflow, if you are limited with Font-awesome or Fontello or similar, […]

Avoid trailing slashes in Gatsby site URLs

a year ago, September 28, 2024

I just realized that Google was having a hard time indexing my site. That may sound too dramatic, yeah, it’s not that big of a deal but, I was having a hard time understanding what was indexed and what was not. So half of the indexing queue had an issue with the heading “Page is not […]

Joke bot with a state machine using XState

Joke bot with a state machine using XState

a year ago, April 13, 2024

In this blog post, we’ll build a Joke bot using XState, a popular state management library for JavaScript. Our joke bot will be able to tell jokes, respond to user input, and transition between different states based on the user’s messages. The DEMO site can be found here: https://jokes-bot.netlify.app/ The Github repo for this project […]

Code Katas, why, what, and how?

Code Katas, why, what, and how?

a year ago, April 8, 2024

Code katas are like fun challenges for programmers, similar to practice routines in martial arts. They’re designed to help developers refine and perfect their coding skills through repetition and practice. These tasks focus on writing neat and fast code. Usually, developers follow a method called Test-Driven Development (TDD). They start by writing a test that […]

© 2025 Anil Maharjan