Go Do Stuff is a simple TODO App written in GoLang.
It contains two services:
- Worker - RESTful API that does basic CRUD operations
- Load Balancer - Simple load balancer that uses Round Robin algorithm to distribute requests to workers
SQLite is used for storage.
git clone https://github.com/mmilunovic/go-do-stuff.git
go get github.com/jinzhu/gorm
go get github.com/gorilla/mux
go get github.com/jinzhu/gorm/dialects/sqlite
go get github.com/dgrijalva/jwt-go
To start the Load Balancer do the following:
cd loadBalancer
go build
./loadBalancer
To start the worker:
cd worker
go build
./worker