Giter Site home page Giter Site logo

digitalbank's Introduction

Digital Bank

PAUSADO - Projeto pessoal sobre a criação de um banco digital em API RESTful e Microservices.

  • O projeto é separado em 3 services, um service para dados dos clientes, outro service para as contas dos clientes do tipo poupança e corrente e outro service para transações realizadas nas contas.

  • Nesta imagem estou tentando criar um rendimento e lançar na poupança do cliente, mas como o cliente já teve um rendimento lançado em menos de um mês, não foi autorizado.

image


  • Json de listagem em pages de todas as contas cadastradas. Além disso, o Json traz as listas de rendimentos e tarifas das contas.
{
    "_embedded": {
        "contaCompletaVOList": [
            {
                "corrente": {
                    "cpfCliente": "455.587.358-23",
                    "valor": 700.00,
                    "tipoConta": "Universitária",
                    "tarifas": [],
                    "ultimaTarifa": null
                },
                "poupanca": {
                    "cpfCliente": "455.587.358-23",
                    "valor": 700.00,
                    "tipoConta": "Universitária",
                    "rendimentos": [],
                    "ultimoRendimento": null
                },
                "_links": {
                    "self": {
                        "href": "http://host.docker.internal:8100/conta-service/v1/455.587.358-23"
                    }
                }
            },
            {
                "corrente": {
                    "cpfCliente": "478.430.358-23",
                    "valor": 490.00,
                    "tipoConta": "Comum",
                    "tarifas": [
                        {
                            "percentual": 2.00,
                            "data": "2022-08-30",
                            "tipoMovimentacao": "Mensal"
                        }
                    ],
                    "ultimaTarifa": "2022-08-30"
                },
                "poupanca": {
                    "cpfCliente": "478.430.358-23",
                    "valor": 530.00,
                    "tipoConta": "Comum",
                    "rendimentos": [
                        {
                            "percentual": 6.00,
                            "data": "2022-08-30",
                            "tipoMovimentacao": "Anual"
                        }
                    ],
                    "ultimoRendimento": "2022-08-30"
                },
                "_links": {
                    "self": {
                        "href": "http://host.docker.internal:8100/conta-service/v1/478.430.358-23"
                    }
                }
            }
        ]
    },
    "_links": {
        "self": {
            "href": "http://host.docker.internal:8100/conta-service/v1?page=0&size=5&direction=asc"
        }
    },
    "page": {
        "size": 5,
        "totalElements": 2,
        "totalPages": 1,
        "number": 0
    }
}

digitalbank's People

Contributors

dya-andrade avatar dyaneandrade avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

locbv

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.