Skip to content

asmejia1993/payment-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

payment-app

This is a simple simulation of a bank API service that can store user information and perform transaction.

System Architecture

Endpoints

Description URL METHOD
Check-Health http://localhost:8080/health GET
Register http://localhost:8080/auth/register POST
Login http://localhost:8080/auth/login POST
Transaction:New http://localhost:8080/api/v1/payments/transaction POST
Transaction:Refund http://localhost:8080/api/v1/payments/transaction/:id/refund POST
Transaction:Details http://localhost:8080/api/v1/payments/transaction/:id GET
Log Monitor http://localhost:8083 GET

Stack

  • Go 1.19 (Gin)
  • PostgreSQL
  • Docker & docker-compose for local development
  • Aysnqmon for monitoring tools

Running app

git clone git@github.com:asmejia1993/payment-app.git
cd payment-app
docker compose up -d

Running test with cover

go test -v -cover ./...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages