December 7, 2023

Spring Boot REST API Example – Step-by-Step Guide

Building robust and scalable REST APIs is a common requirement for modern web development. This application will explore how to create REST APIs for CRUD operations using Spring Boot framework. Apart from building simple REST APIs, we will learn about request validation, error handling, testing, API documentation, and deployment.

Spring Boot REST API Example – Step-by-Step Guide Read More

Golang / Go Crash Course 07 | Building a Docker Container for our REST API

In this article we are going to build a docker container for our Golang application and before doing that we are going to quickly setup Go Modules that will allow us to manage the application dependencies efficiently and also will help us to down load those libraries to build and run the application using docker containers.

Golang / Go Crash Course 07 | Building a Docker Container for our REST API Read More

Golang / Go Crash Course 01 | Building a REST API with Mux

In this article, it will show you how to create a simple REST API using Golang and Mux. Mux is a router that will allow us to handle the HTTP requests that we are going to receive in our API. We will have 2 REST APIs based on url “/posts”, with GET method to return the list of posts, with POST method to create new post.

Golang / Go Crash Course 01 | Building a REST API with Mux Read More

Spring Boot Microservices – Exception Handling in a Spring Boot application

Exception Handling is one of the most important aspects of a production-level Spring Boot Microservice. In the last post Creating REST API using Spring Boot, we had added the functionality to read, create and update records using our application. However, our application was not very robust. In this post, we will look at exception handling in a Spring Boot application.

Spring Boot Microservices – Exception Handling in a Spring Boot application Read More

Spring Boot Microservices – Creating REST API using Spring Boot

In the post Exposing repositories as REST resources, we exposed a repository as a RESTful interface using Spring Data REST. However, that’s not the conventional way of creating REST API for Spring Boot Microservices. That particular approach works best if your data model is exactly similar to your domain model. Usually, that’s not the case. In this post, we will look at the right way of creating REST API using Spring Boot.

Spring Boot Microservices – Creating REST API using Spring Boot Read More