Skip to content

riadelimemmedov/Wallet-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wallet System

System Architecture

Overview

A digital wallet system built with Go and PostgreSQL for managing user accounts and transactions.

Features

  • User account management
  • Wallet creation and management
  • Secure transaction processing
  • Multiple currency support
  • Transaction history tracking

Tech Stack

  • Go
  • PostgreSQL
  • SQLC
  • Make
  • Docker

Prerequisites

  • Go (1.19 or higher)
  • Docker
  • Make

Quick Start

  1. Start PostgreSQL container:
make postgres
  1. Create database:
make createdb
  1. Run migrations:
make migrate_up
  1. Generate SQLC code:
make generate_sqlc
  1. Run tests:
make run_test

Available Make Commands

# Database Management
make postgres          # Start PostgreSQL container
make get_postgres      # Connect to PostgreSQL container
make createdb          # Create database
make get_db           # Connect to database
make dropdb           # Drop database

# Migration Commands
make create_migration  # Create new migration file
make migrate_up       # Run migrations up
make migrate_down     # Run migrations down

# SQLC Commands
make pull_sqlc        # Pull SQLC Docker image
make init_sqlc        # Initialize SQLC
make generate_sqlc    # Generate SQLC code

# Testing
make run_test         # Run tests with coverage
make clean_test_cache # Clean test cache

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published