server.exe file requires only MongoDB to be installed on system
Make sure that you have Golang and its environment variable setup MongoDB set up with environment variable in its place
Golang & MongoDB must be installed
Before running the code write following commands in VS Code Terminal go get gopkg.in/mgo.v2 go get gopkg.in/mgo.v2/bson
go build server.go
go run server.go
go install