hamed-bank

command module
v0.0.0-...-200aa93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 24 Imported by: 0

README

hamed-bank

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
db
mock
Package mockdb is a generated GoMock package.
Package mockdb is a generated GoMock package.
Package pb is a reverse proxy.
Package pb is a reverse proxy.
mock
Package mockwk is a generated GoMock package.
Package mockwk is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL