Discover Packages
github.com/HamedBlue1381/hamed-bank
command
module
Version:
v0.0.0-...-200aa93
Opens a new window with list of versions in this module.
Published: Aug 9, 2023
License: MIT
Opens a new window with license information.
Imports: 24
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
hamed-bank
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
Clone the repository:
git clone https://github.com/Hamedblue1381/hamed-bank
cd hamed-bank
Install the required Go dependencies:
go mod download
Quick Start
Start the PostgreSQL database using Docker:
make postgres
Create the postgres database:
make createdb
Migrate up the database using go migration tool:
make migrateup
Run the gRPC server:
make server
License
This project is licensed under the MIT License - see the LICENSE file for details.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
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.
Click to show internal directories.
Click to hide internal directories.