GithubHelp home page GithubHelp logo

bezaeel / bez-go-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 24 KB

Go 100.00%
clean-architecture docker go go-boilerplate golang golang-examples micros microservices-architecture postgres rest-api

bez-go-api's Introduction

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!

bez-go-api's People

Contributors

bezaeel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.