The HTTP server component of the day trading system designed and built for SENG 468 at UVic
- Clone this repository.
- With HTTPS:
git clone https://github.com/stvhwrd/SENG-468-HTTP-Server.git $GOPATH/src/github.com/stvhwrd/SENG-468-HTTP-Server
- or with SSH:
git clone git@github.com:stvhwrd/SENG-468-HTTP-Server.git $GOPATH/src/github.com/stvhwrd/SENG-468-HTTP-Server
- Install the dependencies.
go get -v -u github.com/joho/godotenv
- Build the Go files.
go build $GOPATH/src/github.com/stvhwrd/SENG-468-HTTP-Server
In its production environment, the HTTP server will communicate with a Transaction Server, a User Account Database Server, and a Logging Server.
The ports on which to communicate must be specified at runtime, using a .env
file.
The file should be located in the same directory as main.go
(as it is by default in this repository).
The HTTP server can be started up using the go run
command after building.
eg. cd $GOPATH/src/github.com/stvhwrd/SENG-468-HTTP-Server && go build && go run .
If you've already installed this repository as per installation, you may update in-place.
go get -u $GOPATH/src/github.com/stvhwrd/SENG-468-HTTP-Server
Components and documentation of the day trading system: