- golang
- gRPC
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- golang 1.18 or later
- docker
- makefile
- Clone the project from RNKM65 Backend
- Import project
- Copy
config.example.yamlinconfigand paste it in the same location then remove.examplefrom its name. - Download dependencies by
go mod download
- Run
go test -v -coverpkg ./... -coverprofile coverage.out -covermode count ./...ormake test
- Run
docker-compose up -dormake compose-up - Run
go run ./src/.ormake server
- Run
make proto
- Create seeder file in
src/database/seeds - Name seed func in pattern
<Name>Seed<Timestamp>- ex
UserSeed1652002196085RoleSeed1651703066048
- ex
- Run
go run ./src/. seedormake seed(Seed all files) - Run
go run ./src/. seed <name>(Seed specific file)