Please use this identifier to cite or link to this item:
Title: Building a RESTful API with Go using Three Layered Architecture
Authors: Sachdeva, Piyushika
Verma, Ruchi [Guided by]
Keywords: Go language
Three layered architecture
Issue Date: 2023
Publisher: Jaypee University of Information Technology, Solan, H.P.
Abstract: Creating a web application is quite simple but the challenge comes when the code has to be tested, structured, cleaned and maintained and thus here we follow the Three Layered Architecture using Go language. The three layers are handler, service and datastore which are all independent of each other. The handler layer receives the request body and then parses anything that is required from that request. It then calls the service layer where all the business logic of the program is defined, ensures that the response is the required format and writes it to the response writer. This layer further communicates with the datastore layer. It takes whatever it needs from the handler layer and then calls the datastore layer. The datastore layer is where all the data is stored. It can be any data storage. The use case layer is the only layer that communicates with the datastore. That is how we test each layer independently making sure that no layer affects the other.
Description: Enrolment No. 191217
Appears in Collections:B.Tech. Project Reports

Files in This Item:
File Description SizeFormat 
Building a RESTful API with Go using Three Layered Architecture.pdf2.11 MBAdobe PDFView/Open

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.