Skip to content

This project is created to demonstrate Go-Lang Clean Architecture/DDD/Hexagonal Architecture, and It show the usage of popular libraries gin, gorm, zap and dig.

Notifications You must be signed in to change notification settings

AkbaraliShaikh/denti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

denti-go-clean-arch

Build Status

This project is created to demonstrate a CleanArchitecture/DDD/HexaArchitecture for dental clinic application built with go gin api including gorm CRUD operations and more.

#Go #Go-Lang #CleanArchitecture #DDD #HexaArchitecture #GoProjectStructure #RealWorldExample #DentalClinic #denti

Benefits :

  • flexibility
  • testability

Dependencies:

  • gin - Http Api Server
  • gorm - Object relational mapping (database)
  • zap - Logger
  • dig - Dependency Injection
  • configor - Configuration Helper
  • go.uuid - UUID v4

Project Structure:

text

Run:

Test:

curl --header "Content-Type: application/json" --request POST --data '{"email":"a.a.shaikh55@gmail.com","first_name":"Akbar","last_name":"Shaikh","password":"password","gender":1,"picture":"http://abc.com/user.png","phone_number":"9123456789"}' http://localhost:8282/api/v1/users/

curl http://localhost:8282/api/v1/users/

=> Repo work is in-progress, will be keep updating the code, but the basic project structure is ready with the required code to understand, have a look!

Happy Coding!

About

This project is created to demonstrate Go-Lang Clean Architecture/DDD/Hexagonal Architecture, and It show the usage of popular libraries gin, gorm, zap and dig.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages