Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rezairfanwijaya/pos-go
This repository provides services about managing transactions
https://github.com/rezairfanwijaya/pos-go
gin gin-gonic go gorm gorm-orm mysql-database rest-api
Last synced: 4 days ago
JSON representation
This repository provides services about managing transactions
- Host: GitHub
- URL: https://github.com/rezairfanwijaya/pos-go
- Owner: rezairfanwijaya
- Created: 2023-03-02T03:43:01.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T07:31:01.000Z (almost 2 years ago)
- Last Synced: 2024-11-05T10:41:19.487Z (about 2 months ago)
- Topics: gin, gin-gonic, go, gorm, gorm-orm, mysql-database, rest-api
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# POS system (income/expense transactions)
This repository provides services about managing transactions
## Run Locally
#### Clone the project
```bash
git clone https://github.com/rezairfanwijaya/pos-go.git
```#### Go to the project directory
```bash
cd pos-go
```#### Get Dependency
```bash
go mod tidy
```#### Open the project with your favorite text editor
#### Setup ENV
##### Edit the .env.example file to .env and adjust it to the env that you will use
##### example :
```bash
DATABASE_USERNAME = "root"
DATABASE_PASSWORD = "12345"
DATABASE_HOST = "127.0.0.1"
DATABASE_PORT = "3306"
DATABASE_NAME = "pos"
DOMAIN = ":8080"
SECRET_KEY = "1213v-dhgfvh2342fved"
```#### Run application
```bash
go run main.go
```## Data User
##### have only one user with the following credentials
```bash
username : "admin"
password : "12345"
```## API Documentation
[API DOCS](https://documenter.getpostman.com/view/11940636/2s93CUJWFy)