This repository contains the source code for a Travel Agency Website, organized using a hexagonal architecture. The hexagonal architecture, also known as Ports and Adapters or the Onion Architecture, is a design pattern that promotes the separation of concerns and modularity in software development.
Project Structure The project follows a hexagonal structure, which consists of the following main components:
This folder contains the entry point for the application. Specifically, the server file inside the cmd folder serves as the starting point for the code.
Always create a new " *.graphqls " file with the name of the API inside gql folder then Run the following Command at root folder
go run github.com/99designs/gqlgen generate
Clone the project
git clone https://github.com/deb151292/go-gqlWithHexagonal-Structure.git
go inside "graph" Folder
go run cmd/server.go
Server: Go with Graphql
Architecture: Hexagonal