Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bayyy7/mini-microservice_go
https://github.com/bayyy7/mini-microservice_go
Last synced: about 10 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/bayyy7/mini-microservice_go
- Owner: bayyy7
- Created: 2024-11-09T05:39:48.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T01:41:08.000Z (3 months ago)
- Last Synced: 2024-12-19T07:13:05.595Z (about 2 months ago)
- Language: Go
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mini Implementation of Microservice Using Go (Golang)
## Folder Structure
- Database: contains connection to remote PostgreSQL and DDL
- handlers: contains several handlers for application
- middleware: contain authorization for JWT Token
- model: contains Database Schema
- utils: extra simple checker for math and string (_just for fun_)## Tech
- REST API with Gin
- gPRC and Protobuf
- JWT Token for authorization
- JSON request & response
- PostgreSQL as RDBMS
- GORM as database management
- CRUD## Database
- auth
- account
- transaction
- transaction_category## API Service
- /auth/login -> Auth Service Auth/Login
- /auth/signup -> Auth Service Auth/Signup
- /account/create
- /account/read
- /account/update
- /account/delete
- /account/list
- /account/my -> Middleware Validate Token to Auth Service Auth/Validate## Created By
Rizky Indrabayu