Skip to content

Hamedblue1381/go-bank

Repository files navigation

hamed-bank

License: MIT Go Report Card

Hamed-bank is a simple and efficient repository that demonstrates the implementation of gRPC in Golang with a PostgreSQL database. This project is designed with a clean and modular architecture, making it a great starting point for developers to build their own gRPC-based applications using Go and PostgreSQL.

Table of Contents

Features

  • Well-structured and modular codebase.
  • gRPC implementation for efficient communication between client and server.
  • PostgreSQL integration for a robust and scalable database.
  • Docker support for easy deployment and development.
  • Comprehensive unit tests for enhanced reliability.

Requirements

Installation

  1. Clone the repository:

    git clone https://github.com/Hamedblue1381/hamed-bank
    cd hamed-bank
    
    
  2. Install the required Go dependencies:

    go mod download
    
    

Quick Start

  1. Start the PostgreSQL database using Docker:

    make postgres
    
  2. Create the postgres database:

    make createdb
    
  3. Migrate up the database using go migration tool:

    make migrateup
    
    
  4. Run the gRPC server:

    make server
    
    
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A side-project : Gin, Docker, gRPC, Redis, CI/CD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published