- postman docs : https://documenter.getpostman.com/view/4473147/TVzXDFka
- copy .env.example to .env.yaml
- configure server environment that you needs in file .env.yaml
- install go to you computer
- download & install protoc to your computer (optional) as your arc you use (windows/linux/macOS): download link https://github.com/protocolbuffers/protobuf/releases
- copy folder
google
, from inside of folderroot_protoc/include
toroot_folder_this_project/third_party
- make your file
.proto
as you need inassets/proto
folder - generate go protobuff with command as noted in file
generateProto.txt
- #makesure your GOPATH environment variable is set
- $ go get
- $ go mod tidy
- $ make
if you want to seder data, run $ ./cmd/seeder -file=namefile.yaml
- $ go run main.go --env-root-path=[./yourfolderdotenvdotyaml] --service=[http, grpc]
- $ go test github.com/nugrohosam/gosampleapi/tests/api
- $ go test github.com/nugrohosam/gosampleapi/tests/grpc
- Supporting for database pgsql, mysql
- Register Users
- Auth JWT
- Middlewares
- Test api
- DB Cleaner In Test
- Request gRPC
- Test gRPC
- Migration tools
- Session redis support
- Pagination
- Seeder tools
- Kafka features
- Encrypted token
- Heroku deployment
- CircleCI deployment