- 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.20 or later
- docker
- makefile
- Clone the project from RPKM66 Backend
- Import project
- Copy
config.example.toml
inconfig
and paste it in the same location then remove.example
from its name. - Download dependencies by
go mod download
- Run
go test -v -coverpkg ./... -coverprofile coverage.out -covermode count ./...
ormake test
- Run
docker-compose up -d
ormake compose-up
- Run
go run ./.
ormake server
- Run
make proto
- Create seeder file in
src/database/seeds
- Name seed func in pattern
<Name>Seed<Timestamp>
- ex
UserSeed1652002196085
RoleSeed1651703066048
- ex
- Run
go run ./. seed
ormake seed
(Seed all files) - Run
go run ./. seed <name>
(Seed specific file)