- Uses Gorilla websockets library
- Main use is to provide a real-time experience to broadcast data to all connected clients simultaneously
- This will be used for the stock trading ticker and transactions
- This is not meant for anything else; Use restapi app instead
- You can view the production app at: https://nervdaq-go-websockets-prod.herokuapp.com/
- Install Go version 1.11
- go get -u github.com/tools/godep
- godep save ./...
- cd /Users//go/src/nervdaq/ && go run *.go
- Open web browser and visit: http://localhost:8080/
- Reference: https://medium.com/@felipeluizsoares/automatically-deploy-with-travis-ci-and-heroku-ddba1361647f
- Create a heroku app first
- Configure .travis.yml file