Skip to content

rishisuresh7/grpc-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Basic grpc server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published