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.
This tutorial uses IntelliJ IDEA Ultimate because we want to create a new project using Spring Initializr. This functionality is only available with IntelliJ IDEA Ultimate. It is based off Building an Application with Spring Boot.
In this article we are going to setup a caching layer in our Golang application by using Redis. REDIS is REmote DIctionary Server which is why we called Redis. Redis is an in-memory, key-value data store.
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.
In this article we are going to use goroutines and channels to build an API mashup pulling data from two different APIs… This is going to be the result after the mashup of the two APIs that we are going to integrate using goroutines and channels.
In this article, we are going to apply the principles of the clean architecture by (Uncle) Bob Martin in our Golang API: Independent of frameworks, Testable, Independent of UI, Independent of Database, Independent of any external agency.
In this article, i am going to connect our Golang API with a Firestore database replacing the array that we are currently using to store the data. Firestore is a NoSQL database from Google Firebase…
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.
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.
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.