financial-api

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2020 License: MIT

README

Financial API

license go-mod

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

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL