user-service

command module
v0.0.0-...-e895604 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

README

user-service

user service using grpc go, postgresql and redis. The service is designed to be accessed by the internal network so that the grpc connection used is an insecure connection. This service is part of ERP Microservices.

Get Started

  • git clone git@github.com:jacky-htg/user-service.git
  • make init
  • cp .env.example .env (and edit with your environment)
  • make migrate
  • make seed
  • make server
  • You can test the service using go run client/main.go and select the test case on file client/main.go

Features

  • Companies
  • Regions
  • Branches
  • Employees
  • Company Features
  • Users
  • Groups
  • Auths
  • Role Base Access Control (RBAC)
Companies
  • Multi companies
  • Company registration
  • Companies CRUD
Regions
  • Multi Regions
  • One region can be assigned to many branches.
  • Regions CRUD
Branches
  • Multi Branches
  • Branches CRUD
Employees
  • Employees CRUD
Auths
  • Login
  • Forgot Password
  • Reset Password
  • Change Password
  • Check Authorization
Users, Groups, Access and RBAC
  • Users CRUD
  • Group CRUD
  • List Access
  • Multi users
  • One role can be assigned multi access
  • Role Base Access Control (RBAC)
Company Features
  • List Features
  • List Package Feature
  • View Package Feature
  • Company Feature Setting : The company can use the whole of features, or cherry pick part of features.

How To Contribute

  • Give star or clone and fork the repository
  • Report the bug
  • Submit issue for request of enhancement
  • Pull Request for fixing bug or enhancement module

License

The license of application is GPL-3.0, You can use this apllication for commercial use, distribution or modification. But there is no liability and warranty. Please read the license details carefully.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL