simple-bank-api

command module
v0.0.0-...-1f03132 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

Simple Bank API

🎯 Motivação

Recentemente iniciei meus estudos em Arquitetura Hexagonal e a linguagem Golang, então, este repositório foi criado com o objetivo de praticar.

👨🏻‍💻 Desafio (a melhorar)

Um banco precisa realizar a gestão de contas de seus clientes, para isso, será necessário desenvolver uma API-REST com as seguintes Entidades:

Customers
id         string (uuid)
name       string
cpf        string
birth      datetime
created_at datetime
updated_at datetime

Account
id                     string (uuid)
customer_id            string (uuid)
balance                float
withdrawal_daily_limit float
isActive               bool
account_type           int8
created_at             datetime
updated_at             datetime

Transactions
id               string (uuid)
account_id       string (uuid)
value            float
transaction_type string (deposit | withdrawal)
created_at       datetime
  • Implementar path que realiza a criação de uma conta;
  • Implementar path que realiza operação de depósito em uma conta;
  • Implementar path que realiza operação de consulta de saldo em determinada conta;
  • Implementar path que realiza operação de saque em uma conta;
  • Implementar path que realiza o bloqueio de uma conta;
  • Implementar path que recupera o extrato de transações de uma conta;
  • Implementar extrato por período;
  • Elaborar manual de execução;
  • Elaborar documentação;
  • Elaborar testes.

🛠 Ferramentas necessárias

Em construção... 🧱

💻 Como executar

Em construção... 🧱

Documentation

Overview

Copyright © 2021 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
internal
modules/customers/mocks
Package mock_customer is a generated GoMock package.
Package mock_customer is a generated GoMock package.

Jump to

Keyboard shortcuts

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