Skip to content

Implementation of Go architecture based on real-world case

Notifications You must be signed in to change notification settings

adhatama/ijah-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ijah Shop

The implementation of the well-known interview test Ijah Shop. The goal is to design and implement a system based from the existing Ijah's Excel inventory management.
For the complete instruction, please see this link

Disclaimer: I didn't apply to that company for an interview. This repo is just for my attempt to implement Go architecture for learning purposes.

Architecture Overview

It uses Onion / Hexagonal / Clean architectures in a simpler way. It uses 3 layers: the deepest domain layer, the infrastructure (databases), and the application layer (http server, serialization, etc)

diagram

Requirements and Dependencies

Installation

  • run dep ensure to install dependencies
  • run go run main.go to run the server

Notice

  • There is no DDL for tables yet. You need to manually create the table.
  • Database configuration is still hardcoded

About

Implementation of Go architecture based on real-world case

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages