Skip to content

Bezaeel/bez-go-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Description

This is a project template I have found suitable for my go projects I intend for it to help save time on project especially coding challenges when interviewing

Do a find for bez-go-api and replace with <your project name>

Also, remember to replace or delete the Sample implementations, they are only pointers to guide the way

see similar dotnet project sample here

   @@ Please modify to suit your need @@

   @@ do not be confused with the folder namings, please feel free to refer to clean-arch diagram
      help with renaming the folders to suit your need @@

Implementation

With clean architecture in mind, injecting different parts to achieve the workflow. This approach spells easy maintainence from the get-go(loosely coupled parts), dependency injection via constructor injection

Technologies used

  • Go
  • Postgres

Checklist

  • repository
  • service layer
  • tests
  • endpoints
  • integration tests for endpoints
  • dockerize app
  • setup github workflows for CI

How to run

  • configure connection strings in config.json in Config directory
  • run go mod tidy && go run main.go

Improvement

Kindly send me a dm on twitter @talabiope on how to improve this template. or raise a PR Looking forward to it!