Skip to content

nugrohosam/goauth

Repository files navigation

Try this project free

Set project

  • copy .env.example to .env.yaml
  • configure server environment that you needs in file .env.yaml

System Requirement

Using Protocol Buff (following this if you are do install)

  • copy folder google, from inside of folder root_protoc/include to root_folder_this_project/third_party
  • make your file .proto as you need in assets/proto folder
  • generate go protobuff with command as noted in file generateProto.txt
  • #makesure your GOPATH environment variable is set

Get All Modules

  • $ go get
  • $ go mod tidy

Run Makefile

  • $ make

Seeder

if you want to seder data, run $ ./cmd/seeder -file=namefile.yaml

Run Server

  • $ go run main.go --env-root-path=[./yourfolderdotenvdotyaml] --service=[http, grpc]

Run Test API

  • $ go test github.com/nugrohosam/gosampleapi/tests/api

Run Test GRPC

  • $ go test github.com/nugrohosam/gosampleapi/tests/grpc

Checklist

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages