AndrewDonelson / go-bank

Simple Bank written with Golang, Postgres, Redis, Gin, gRPC, Docker, Kubernetes, AWS, CI/CD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-bank

Simple Bank written with Golang, Postgres, Redis, Gin, gRPC, Docker, Kubernetes, AWS and CI/CD using Github Actions.

Run unit tests

Tools Used

Languages

Deployment

  • [Vanilla](ie. DigitalOcean, Linode, etc.)
  • AWS

How to run

Docker

# Start the database
docker-compose up -d db

# Run the migrations
make migrate-up

# Start the server
make run

Local

# Start the database
docker-compose up -d db

# Run the migrations
make migrate-up

# Start the server
make run

How to test

# Run the tests
make test

# Run the tests with coverage
make test-coverage

# Run the tests with coverage and open the browser
make test-coverage-open

How to build

# Build the binary
make build

How to run the binary

# Run the binary
./bin/go-bank

About

Simple Bank written with Golang, Postgres, Redis, Gin, gRPC, Docker, Kubernetes, AWS, CI/CD


Languages

Language:Go 94.6%Language:Shell 3.1%Language:Makefile 2.0%Language:Dockerfile 0.3%