Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacky-htg/user-service
user service using grpc go and postgresql
https://github.com/jacky-htg/user-service
golang grpc grpc-go inventory microservices rbac user-services
Last synced: about 1 month ago
JSON representation
user service using grpc go and postgresql
- Host: GitHub
- URL: https://github.com/jacky-htg/user-service
- Owner: jacky-htg
- License: gpl-3.0
- Created: 2020-12-24T10:26:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T08:33:19.000Z (6 months ago)
- Last Synced: 2024-08-01T10:04:39.459Z (6 months ago)
- Topics: golang, grpc, grpc-go, inventory, microservices, rbac, user-services
- Language: Go
- Homepage:
- Size: 329 KB
- Stars: 26
- Watchers: 3
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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 [email protected]: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
- [X] Companies
- [X] Regions
- [X] Branches
- [X] Employees
- [X] Company Features
- [X] Users
- [X] Groups
- [X] Auths
- [X] Role Base Access Control (RBAC)### Companies
- [X] Multi companies
- [X] Company registration
- [X] Companies CRUD### Regions
- [X] Multi Regions
- [X] One region can be assigned to many branches.
- [X] Regions CRUD### Branches
- [X] Multi Branches
- [X] Branches CRUD### Employees
- [X] Employees CRUD### Auths
- [X] Login
- [X] Forgot Password
- [X] Reset Password
- [X] Change Password
- [X] Check Authorization### Users, Groups, Access and RBAC
- [X] Users CRUD
- [X] Group CRUD
- [X] List Access
- [X] Multi users
- [X] One role can be assigned multi access
- [X] Role Base Access Control (RBAC)### Company Features
- [X] List Features
- [X] List Package Feature
- [X] View Package Feature
- [X] 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](https://github.com/jacky-htg/user-service/blob/main/LICENSE), 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
- [API Gateway for ERP](https://github.com/jacky-htg/api-gateway-service)
- [Inventory Service](https://github.com/jacky-htg/inventory-service)
- [Purchase Service](https://github.com/jacky-htg/purchase-service)
- [Sales Service](https://github.com/jacky-htg/sales-service)
- [Ledger Service](https://github.com/jacky-htg/ledger-service)
- [Simple gRPC Skeleton](https://github.com/jacky-htg/grpc-skeleton)