Skip to content

jacky-htg/user-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Link Repository