go-backend-clean-architecture icon indicating copy to clipboard operation
go-backend-clean-architecture copied to clipboard

A Go (Golang) Backend Clean Architecture project with Gin, MongoDB, JWT Authentication Middleware, Test, and Docker.

Results 18 go-backend-clean-architecture issues
Sort by recently updated
recently updated
newest added

https://github.com/amitshekhariitbhu/go-backend-clean-architecture/blob/b3360562eeda45550f455ac3d331833eab1a0fe2/bootstrap/database.go#L21

- `$` signs removed from a code block to uniformize and simplify copy/paste actions - Gemojis replaced with their unicode equivalent to facilitate reading from any Markdown reader

Heyho! I think you may consider updating the Dockerfile to make the image smaller and more secure This change should minify it by separating the builder image with all of...

Hi Amit! Thanks for this project! It's a perfect start for newcomers on Go backend development! I'm preparing a Medium post about DevSecOps best practices and I took your project...

Hi! After running staticcheck on the project, it funds a few errors: **Deprecated** > internal/tokenutil/tokenutil.go:16:19: jwt.StandardClaims is deprecated: Use RegisteredClaims instead for a forward-compatible way to access registered claims in...

Hi, We have a MongoDB dependency in the controller. You can see here: https://github.com/amitshekhariitbhu/go-backend-clean-architecture/blob/main/api/controller/task_controller.go#L8 Maybe we should consider move the code bellow to other layer: ```go task.ID = primitive.NewObjectID() task.UserID,...

Hi! It is considered good form to do code checks with a linter. I can offer [golangci-lint](https://golangci-lint.run/) for a typical project. Arrange a PR?

Hello! Thank you for this repo, it is really helpful. 🎉 I want to ask you about the responsibilities of use cases and controller. If I understood correctly, the controller...