Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/restuwahyu13/golang-pos
Example golang point of sale.
https://github.com/restuwahyu13/golang-pos
gin golang pos restful-api
Last synced: about 1 month ago
JSON representation
Example golang point of sale.
- Host: GitHub
- URL: https://github.com/restuwahyu13/golang-pos
- Owner: restuwahyu13
- Created: 2021-10-26T17:38:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T14:04:41.000Z (about 2 years ago)
- Last Synced: 2024-06-19T00:15:42.619Z (6 months ago)
- Topics: gin, golang, pos, restful-api
- Language: Go
- Homepage:
- Size: 59.6 KB
- Stars: 47
- Watchers: 2
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Golang Point Of Sale
Example Golang API backend rest implementation mini project Point Of Sale using Gin Framework and Gorm ORM Database.
## Command
- ### App Lifecyle
```sh
$ go run main.go || make go run
```- ### Docker Lifecycle
```sh
$ docker-compose up -d --build
```
## Endpoint| **Nama** | **Route** | **Method** |
| --------------- | -------------------------- | ---------- |
| **User** | | |
| | */api/v1/auth/ping* | *GET* |
| | */api/v1/auth/register* | *POST* |
| | */api/v1/auth/login* | *POST* |
| **Merchant** | | |
| | */api/v1/merchant/ping* | *GET* |
| | */api/v1/merchant* | *POST* |
| | */api/v1/merchant* | *GET* |
| | */api/v1/merchant/:id* | *GET* |
| | */api/v1/merchant/:id* | *DELETE* |
| | */api/v1/merchant/:id* | *UPDATE* |
| **Outlet** | | |
| | */api/v1/outlet/ping* | *GET* |
| | */api/v1/outlet* | *POST* |
| | */api/v1/outlet* | *GET* |
| | */api/v1/outlet/:id* | *GET* |
| | */api/v1/outlet/:id* | *DELETE* |
| | */api/v1/outlet/:id* | *PUT* |
| **Customer** | | |
| | */api/v1/outlet/ping* | *GET* |
| | */api/v1/customer* | *POST* |
| | */api/v1/customer* | *GET* |
| | */api/v1/customer/:id* | *GET* |
| | */api/v1/customer/:id* | *DELETE* |
| | */api/v1/customer/:id* | *PUT* |
| **Product** | | |
| | */api/v1/product/ping* | *GET* |
| | */api/v1/product* | *POST* |
| | */api/v1/product* | *GET* |
| | */api/v1/product/:id* | *GET* |
| | */api/v1/product/:id* | *DELETE* |
| | */api/v1/product/:id* | *PUT* |
| **Role** | | |
| | */api/v1/role/ping* | *GET* |
| | */api/v1/role* | *POST* |
| | */api/v1/role* | *GET* |
| | */api/v1/role/:id* | *GET* |
| | */api/v1/role/:id* | *DELETE* |
| | */api/v1/role/:id* | *PUT* |
| **Supplier** | | |
| | */api/v1/supplier/ping* | *GET* |
| | */api/v1/supplier* | *POST* |
| | */api/v1/supplier* | *GET* |
| | */api/v1/supplier/:id* | *GET* |
| | */api/v1/supplier/:id* | *DELETE* |
| | */api/v1/supplier/:id* | *PUT* |
| **Transaction** | | |
| | */api/v1/transaction/ping* | *GET* |
| | */api/v1/transaction* | *POST* |
| | */api/v1/transaction* | *GET* |
| | */api/v1/transaction/:id* | *GET* |
| | */api/v1/transaction/:id* | *DELETE* |
| | */api/v1/transaction/:id* | *PUT* |