Financial API
A simple api application written in Go
Quick Start
$ docker-compose up --build
Development
1.Clone Source Code
$ git clone https://github.com/murilosrg/financial-api
$ cd financial-api
2.Download Requirements
$ go mod download
3.Create Configuration
$ touch ./configuration.yml
# configuration for dev
db:
driver: sqlite3
address: ./financial.db
# driver: mysql
# addr: user:password@/dbname?charset=utf8&parseTime=True&loc=Local
# driver: postgres
# addr: host=myhost user=gorm dbname=gorm sslmode=disable password=mypassword
address: :5000
4.Init and Run
$ go run ./cmd/financial -init
5. Visit Website
visit localhost:5000
Run Test
$ go test ./...
Source
Repository: financial-api
Author: murilosrg
License
MIT