#Web
49 articles
12 Creating Dependecy Injection Library Google Wire
This time we will try to make Dependency Injection using the Wire Library from github.
11 Add Unit Tests Using Mockery
At this stage we will need the following dependencies brew install mockery go get github.
10 Adding Simple Authentication
At this stage we will try to add simple Authentication by using middleware in Golang.
09 Configuring HTTP Router, HTTP Server and Database Connection
At this stage we will create the main function of the project that we have created.
08 Adding a Request Validator Using Golang Playground
At this stage we will add validation for each request sent to the API.
07 Creating a Handler as a Data Delivery Layer
At this stage we will continue the project that we have created by creating a Delivery Layer.
06 Creating Usecases as Data Logic
This time we will continue the project of making this RESTFul API by creating a Usecase function.
05 Creating a Repository as Access Data
This time we will create an Article Repository that needs to communicate to the MySQL database.
04 Implementing Clean Architecture on Project
At this stage we will try to implement Clean Architecture, where this concept according to Uncle Bob has 4 layers, namely
03 Creating a Database on MySQL Golang
At this stage we will try to create a database on MySQL in preparation for creating the table that we will also use later to create an API with the data in the database.
02 Membuat API Specification menggunakan OpenAPI
At this stage we will try to create all the API Specifications related to the API that we will create so we need complete documentation using OpenAPI.
01 RESTful Introduction to Golang
Introduction to RESTFul API Quoted from the amazon website, RESTful API is an interface used by two computer systems to securely exchange information over the internet.