Skip to content

xssxx/simple-bank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💰 Simple Bank

A modern backend system for a simple banking application, built with Go and a solid microservice architecture.

🚀 Tech Stack

  • 🌐 Gin – HTTP Web Framework
  • 🛢️ PostgreSQL – Relational Database
  • 🛰️ gRPC – High-performance RPC framework
  • 🐳 Docker – Containerization
  • ☸️ Kubernetes – Container Orchestration
  • Redis – In-memory Data Store (Caching & Session)

📦 Features

  • 🏦 Account creation & management
  • 💸 Secure money transfers between accounts
  • 🔐 User authentication with token-based auth
  • 📈 Database migrations with version control
  • 📡 gRPC service for high-performance APIs
  • 🧪 Unit & integration tests for reliability

🛠️ Getting Started

  1. Clone the project

    git clone https://github.com/your-username/simple-bank.git
    cd simple-bank
  2. Set up environment variables

    Create a .env file:

    POSTGRES_USER=root
    POSTGRES_PASSWORD=root
    POSTGRES_DB=simple_bank
    POSTGRES_PORT=5432
    POSTGRES_HOST=localhost
  3. Start PostgreSQL with Docker

    make postgres
  4. Create and migrate the database

    make createdb
    make migrateup
  5. Run the server

    go run main.go

About

implemented of go backend from techschool course

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published