amitshekhariitbhu

    amitshekhariitbhu/go-backend-clean-architecture

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

    api
    backend
    devops
    testing
    architecture
    clean-architecture
    docker
    gin
    go
    Go
    Apache-2.0
    6.2K stars
    685 forks
    6.2K GitHub watchers
    Updated Oct 28, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 3 contributors on GitHub.

    Gained 68% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Implements a Go backend following clean architecture principles using Gin, MongoDB, JWT authentication, and Docker for containerization.
    • Provides a modular, testable, and scalable backend template with built-in JWT middleware and comprehensive testing support.
    • Use for building secure RESTful APIs with token-based authentication in Go using a clean, layered architecture.
    • Use for learning and applying clean architecture concepts in Go backend development with practical examples and tests.
    • Use for quickly bootstrapping Go backend projects with integrated Docker support and MongoDB data persistence.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present

    Watch-outs

    • No commits in the last six months (last push Feb 2026).
    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

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

    You can use this project as a template to build your Backend project in the Go language on top of this project.

    Before creating this project, I have gone through more than 20 projects related to the Go(Golang) Clean Architecture on GitHub.

    Thanks to all those projects, I learned a lot from all of those. As I keep saying:

    The best way to learn to code is to code. But, to write good code, you will also have to read good code. Make a habit of reading good code. You can find many open-source projects on GitHub and start reading.

    Then for the implementation part, I combined all of my ideas, experiences, and learnings from those projects to create this project.

    And as always I would love to get feedback on my project. This helps everyone and most importantly me.

    Hi, I am Amit Shekhar, Co-Founder @ Outcome School • IIT 2010-14 • I have taught and mentored many developers, and their efforts landed them high-paying tech jobs, helped many tech companies in solving their unique problems, and created many open-source libraries being used by top companies. I am passionate about sharing knowledge through open-source, blogs, and videos.

    Excerpt from the amitshekhariitbhu/go-backend-clean-architecture README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    685+14

    Open issues

    22+2

    Compared with peers in API

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    amitshekhariitbhu/go-backend-clean-architecture compared with API repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vxcontrol/pentagi33.5K+7123831 days ago
    usebruno/bruno48.2K+2815914 days ago
    agentgateway/agentgateway6.0K+183609 days ago
    mudler/LocalAI50.2K+1765912 days ago
    sveltejs/svelte88.6K+77659 days ago
    amitshekhariitbhu/go-backend-clean-architecture6.2K—7—
    Category median48.2K+18359—

    Discover Repositories

    Search across tracked repositories by name or description