GithubHelp home page GithubHelp logo

chunganhbk / gin-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lyrictian/gin-admin

12.0 4.0 6.0 22.67 MB

RBAC scaffolding based on Gin + Gorm/MongoDB + Casbin + Dig

License: MIT License

Go 99.77% Makefile 0.23%

gin-go's Introduction

gin-go

RBAC scaffolding based on Gin + Gorm/MongoDB + Casbin + Dig

Project Structure

.
├── cmd
│   └── server            # Main
├── internal
│   └── app               # Your Application
│       ├── api           # api
│       ├── config        # Config's Structure
│       ├── icontext      # 
│       ├── middleware    # Gin's Middleware
│       ├── models        # Model gorm mongodb
│       ├── repositories  # Repository DB
│       ├── schema        # Schemas
│       ├── services      # Business Logic Layer
│       │   └── impl      # BLL Implement
│       └── test          # Test Cases
└── pkg                   # Common Packages
    ├── app               # Extend Gin
    ├── errors            # Define message, code errors
    ├── jwt               # JWT Auth
    ├── logger            # Logers
    └── utils             # Utilities

Start project

# start make file
    make start 
# OR run with go command
    go run cmd/server/main.go web -c ./configs/config.toml -m ./configs/model.conf --menu ./configs/menu.yaml

gin-go's People

Contributors

lyrictian avatar chunganhbk avatar chenyu1990 avatar pingtest avatar linzhengen avatar ezewu avatar lostmaniac avatar longlycode avatar

Stargazers

Tran Xuan Viet avatar  avatar Monody Le avatar Van Thong Nguyen avatar Quang Nguyen avatar  avatar Lê Quý avatar  avatar kn avatar  avatar Bao Bui avatar  avatar

Watchers

James Cloos avatar  avatar Ngo Thieu Quang avatar Quang Dang 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.