Skip to content

shunam/golang_pet

Repository files navigation

Chosen tech stack

N|Solid

I use beego, because it's simple to use so I can be more productive.

Infrastucture requirements

  • Go - Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
  • Dep - dep is a dependency management tool for Go. It requires Go 1.9 or newer to compile.

Directory structure

  • conf. All configuration needed.
  • controller. All controller will be here.
  • database. All migrations will be here.
  • models. All model will be here.
  • public. All Image will be here.
  • routers. All routes will be here.
  • tests. All test files will be here.

Setup instructions

$ git clone git@bitbucket.org:shunam/pet.git
$ cd pet
$ dep ensure
$ go get github.com/beego/bee

Application deployments

Make sure you are in folder pet.

Run in development

$ bee run

Runing test

$ cd tests
$ go test

Running in prouction

$ ./pet

Swagger

After running the app, go to localhost:8080/swagger

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published