AlbertMorenoDEV / payments-api-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Payments API DEMO

This is a demo project where I applied Hexagonal Architecture and DDD on a Golang project.

Requirements

  • Golang v1.18
  • Docker
  • Docker Compose

Run Tests

  1. docker-compose up -d
  2. go test ./... -v

ToDo List

  • Initial setup
  • Basic auth authorization
  • Find balance use case
  • Update balance based on new transactions
  • Create transaction use case
  • List transactions use case
  • MySQL setup
  • Think on how to monitor the application
  • Think on how to send logs to Prometheus
  • Command/Query Bus implementation

Improvements

  • JWT Tokens
  • JSON:API

About


Languages

Language:Go 100.0%