Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 639 Bytes

README.md

File metadata and controls

39 lines (31 loc) · 639 Bytes

grpc-server

Basic GRPC server for CRUD operations

Prerequisites

- make
- go
Config Usage(to be set at env)
  • PORT - Port number the application will start on
  • TOKEN - Token for proxy authentication
  • MONGO_URI - Host and port for mongodb service
  • MONGO_USERNAME - Username for mongodb
  • MONGO_PASSWORD - Password for mongodb

Clean binaries

$ make clean

Run all tests

$ make test

Build application

$ make build

Run application with default config

$ make run

Build application for linux

$ make build-linux