Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marwenbhriz/go-payment-api
https://github.com/marwenbhriz/go-payment-api
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/marwenbhriz/go-payment-api
- Owner: marwenbhriz
- Created: 2024-06-02T21:50:46.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-05T02:13:56.000Z (5 months ago)
- Last Synced: 2024-07-09T08:40:31.824Z (4 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
module cmd/go-api-sample-todo
go 1.22.3
1. run mysql db
docker run --name payments-db -e MYSQL_ROOT_PASSWORD=root -d -p 3307:3306 mysql:latest
docker exec -it payments-db bash
mysql -u root -proot
CREATE DATABASE payments;go mod init github.com/marwenbhriz/go-payment-api
go get .
go get github.com/marwenbhriz/go-rest-api/controllers/productcontroller
go get github.com/marwenbhriz/go-rest-api/modelsgo get gorm.io/driver/mysql