Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.38 KB

Readme.md

File metadata and controls

50 lines (34 loc) · 1.38 KB

Simple Bank App

This is my first application in GO I do this because I want to learn Go.

Notes:

During the course the following question arised:

How will we talk to the db?

See: DB_ORMs.md

TL;DR: We will use SQLC. It's a command that uses a pseudo language to create go code that speaks with the DB

Which AUTH system should we use, JWT or PASETO?

See documentation explaining the difference between:

  • JWT
  • PASETO

Postgres driver

See: github.com/lib/pq

Testing helper

See https://github.com/stretchr/testify

Reading env files and environment variables

We are using Viper https://github.com/spf13/viper

API test mocks

We are using go mock https://github.com/golang/mock

How to debug a deadlock in the database

See: Solving A DeadLock.md

Theory of Transaction Isolation Level

See: TransactionIsolationLevel.md

The list of validators

https://github.com/go-playground/validator#baked-in-validations

Wait for other service to be fully running

In the past docker recommended to use tools like: https://github.com/eficode/wait-for Nowadays, this is different we need to read the updated docs

K8s Cluster Architecture

k8s_architecture.png

How to create an EKS cluster

See EKS.md