Kicking Off this RESTful Journey

K

Imagine the internet as a bustling, cosmopolitan cafe. In this cafe, your browser or app is like a hungry diner, and the server is the kitchen where all the data is cooked up. Now, how does your order (or request) get to the kitchen and your delicious data (or response) come back to you? Enter the superheroes of our story: REST APIs!

ChatGPT

In essence, REST APIs are the bridge between where the data is stored and where it’s requested. They’re crucial for the smooth operation of web applications, mobile apps, and much more.

The plan

For this first blog series, I want to keep it basic. I’ve never written a blog before, but I’ve dealt with a ton of REST APIs, certainly.

As with all good APIs, we need an objective, normally trying to solve a business problem. And for that, we need a fake business.

Introducing… Inflatable-Hero Corp.

Inflatable-Hero Corp (IH) specialises in, well, you guessed it! Inflatable heroes. Their main goal is to sell inflatables of the hero variety to customers. Starting from the ground up, their current goal is to show a listing of their products on a website, which can be viewed for further details and liked.

Throughout the posts, I will cover setting up the environment, designing the API, building it, and testing it. Maybe even some other steps – who knows? Let’s see how far my determination takes us!

Requirements

Much like the ingredients of a recipe, there are a few things we need to get started.

  • Go installed – as of writing 1.21 is out
  • An IDE – VsCode is alright
  • Fingers!


About the author

admin-blog

Add comment

By admin-blog

Recent Comments

No comments to show.