Mono Repo Project
This is the Mono Repo Project
Requirements
Installable via Makefile
A Makefile is included for convenience
Install the dependencies
make install
Run migrations
make migrate-up
Build the binaries
make build
Run the service
./service_name/service_name
Build the docker images
make docker-images
Start a service
make service_name
# or start all services
make docker-up
Run tests
make test
Generated with
# create a new service
kit new service service_name
# add endpoints to the service
kit generate service service_name -w -t grpc
Setup go modules
cd service_name
go mod init
go mod tidy
Create migration
migrate create -ext sql -dir=./server/postgres/migrations create_sample_table
$(ifconfig enp2s0 | sed -En -e 's/.*inet ([0-9.]+).*/\1/p')
If you like it you can send a small donation to any of the following addresses:
BTC: 3P1eTCYEcFGoN4bCfRAUbedfqK17DCMM5R
ETH: 0x4939e019c56a8885bcd5fac11eba1cb1b147dc6e
XRP: rU2mEJSLqBRkYLVTv55rFTgQajkLTnT6mA
DT: 110892
BAT: 0x0a317eA88131eFD0FC48E0ac9945996Eb690dbc0