Lern RESTFul API Clean Architecture

Learn the Golang RESTFul API by trying to implement a clean architecture that is simple and easy for beginner programmers to understand

  • By Ihsan Arif
  • 20 Jan 2024
  • 12 articles
  • intermediate

Interested Topics

Learn RESTFul API by trying the Clean Architecture method or concept, which is a concept that divides into several components that have independent properties and do not depend on specific external libraries. So that in this concept we are not specifically fixated on a certain Framework or depend on a specific database.

This clean architecture concept is familiar to Bob, which we often call a multi-layered architecture or sometimes called each layer module or domain.

This time we will try to implement this clean architecture in a simple project using the RESTFul API using the MySQL database and the Rest API that we will use using the Chi library.

Some tools that are prepared include:

  • Visual Studio Code
  • MySQL Databases
  • Golang Development Kit (VSCode Plugin)
  • Docker
  • Supporting browser
  • Postman or similar applications

And for friends there are some that need to be understood also related to the previous materials including:

  • Basic Golang Programming
  • Modular Golang
  • Golang HTTP Router
  • JSON usage goal
  • Golang Web Server and
  • Golang that interacts with the Database

Hopefully you can follow this topic to the end. For those who want to learn through existing code, we have provided it in the repository here https://github.com/santekno/learn-golang-restful. And you can also visit us on our Github https://github.com/santekno to see other projects that we have made.

comments powered by Disqus