Giter Site home page Giter Site logo

go-base's People

Contributors

dhax avatar piotrkochan avatar prandogabriel avatar whilei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-base's Issues

Other database providers

Id love to use this with mongodb it would be great if there was an example or some db abstraction to make it easy to plug in another type

how to start

dev@dev-x:$ cd Documentos
dev@dev-x:
/Documentos$ cd go-base
dev@dev-x:/Documentos/go-base$ go build OK
dev@dev-x:
/Documentos/go-base$ go run main.go
A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:

Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.

Usage:
go-base [command]

Available Commands:
gendoc Generate project documentation
help Help about any command
migrate use go-pg migration tool
serve start http server with configured api

Flags:
--config string config file (default is $HOME/.go-base.yaml)
--db_debug log sql to console
-h, --help help for go-base

Use "go-base [command] --help" for more information about a command.
dev@dev-x:/Documentos/go-base$ go-base migrate init
go-base: comando não encontrado
dev@dev-x:
/Documentos/go-base$ go-base migrate
go-base: comando não encontrado
dev@dev-x:/Documentos/go-base$ go-base serve
go-base: comando não encontrado
dev@dev-x:
/Documentos/go-base$

Swagger

You should consider adding support for Swagger/OpenAPI.

Some dependency confilict, not able to boot up following instructions

  • Cloned repo
  • DATABASE_URL exported
  • Installed dependencies
$ dep init
  • Failing in build
# github.com/dhax/go-base/auth/jwt
auth/jwt/claims.go:17: undefined: jwtauth.Claims
auth/jwt/claims.go:52: undefined: jwtauth.Claims
auth/jwt/token.go:40: undefined: jwtauth.Claims
auth/jwt/token.go:41: undefined: jwtauth.Claims
auth/jwt/tokenauth.go:41: undefined: jwtauth.Claims
auth/jwt/tokenauth.go:54: undefined: jwtauth.Claims
auth/jwt/tokenauth.go:62: undefined: jwtauth.Claims
# github.com/dhax/go-base/vendor/github.com/go-pg/migrations
vendor/github.com/go-pg/migrations/db.go:17: syntax error: unexpected = in type declaration```

provide .go-base.yaml.example pls

hello dhax and team, nice project. but i confuse for adding .go-base.yaml without example. its really nice to have if u prodive it. thanks

Add API with insert

Hi, could you pls review my changes

When inserting without specifying id (auto increment, primary key) it returns

{
    "status": "Unprocessable Entity",
    "error": "ERROR #23505 duplicate key value violates unique constraint \"reports_pkey\""
}

Dockerfile

Docker can be great to this project, you should consider to add it.

Actually i'am working in a dockerfile to a personal project using your boilerplate.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.