Git Product home page Git Product logo

bank's Introduction

#API Rest para simular un pequeño banco:

  • Registro usuario
  • Creación de cuenta (wallet)
  • Realización de depósito de dinero
  • Visualización de cuenta (wallet) --> Balance y movimientos
  • Transferencia de una cuenta A a una cuenta B

Task Resolution

You should be able to start the example application by executing com.iobuilders.bank.BankApplication Which starts a webserver on port 8080 (http://localhost:8080) and serves SwaggerUI in the path http://localhost:8080/swagger-ui/ where can inspect and try the endpoints.

Registro usuario

You can try this in the User Controller Endpoints

Creación de cuenta (wallet)

You can try this in the Account Controller Endpoints

Realización de depósito de dinero

You can try this in the Transaction Controller Endpoints

In http://localhost:8080/swagger-ui/#/transaction-controller/saveTransactionUsingPOST, you can add the data for the transaction, selecting DEPOSIT for TransactionType

Visualización de cuenta (wallet) --> Balance y movimientos

You can try this in the Transaction Controller Endpoints http://localhost:8080/swagger-ui/#/transaction-controller/getAllTransactionUsingGET

Transferencia de una cuenta A a una cuenta B

You can try this in the Transaction Controller Endpoints

In http://localhost:8080/swagger-ui/#/transaction-controller/saveTransactionUsingPOST, you can add the data for the transaction, selecting TRANSFER for TransactionType, and setting 'withdrawalAccountFromId' with the id of the account where the money comes.

Important

It is a simple application, just adding and subtracting transaction balances. In a real application, it would be necessary to add other tables in the database, interfaces, DTOs, mappers, and other entities, in addition to security, audit and session. I hope that with the development carried out you can appreciate my knowledge, in case of any doubt do not suppose, just ask me.

bank's People

Contributors

krgkill avatar

Watchers

 avatar

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.