Skip to content

Simple RESTful API with Round Robin load balancing written in Go.

Notifications You must be signed in to change notification settings

mmilunovic/go-do-stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go Do Stuff

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.

Installation

git clone https://github.com/mmilunovic/go-do-stuff.git

Dependencies

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

Usage

To start the Load Balancer do the following:

cd loadBalancer
go build
./loadBalancer

To start the worker:

cd worker
go build
./worker

About

Simple RESTful API with Round Robin load balancing written in Go.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages