Skip to content

πŸ“ˆπŸ’± [Containerized Go server] HTTP Server for Stock Trading System project

Notifications You must be signed in to change notification settings

stvhwrd/Stock-Trading-System-HTTP-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Build Status

SENG 468 HTTP Server

The HTTP server component of the day trading system designed and built for SENG 468 at UVic

Installation

You must have Go and Git installed.

  1. 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

  1. Install the dependencies.

go get -v -u github.com/joho/godotenv

  1. Build the Go files.

go build $GOPATH/src/github.com/stvhwrd/SENG-468-HTTP-Server

Configuration

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).

Usage

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 .

Updating

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

See Also

Components and documentation of the day trading system:

About

πŸ“ˆπŸ’± [Containerized Go server] HTTP Server for Stock Trading System project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •