Code Monkey home page Code Monkey logo

di2win-desafio's Introduction

Di2win-desafio

API Endpoints

  • criando conta (POST):
URI:http://localhost:8080/creatAccount
BODY:

primeira conta:
      {
        "name": "Teste1",
        "balance": 100.00,
        "birth": "2000-09-09T00:00:00",
        "document": "11450434452",
        "account": 123,
        "agency": 123,
        "accountType": "active"
    }
segunda conta:
    {
        "name": "Teste2",
        "balance": 100.00,
        "birth": "2000-09-09T00:00:00",
        "document": "65602501487",
        "account": 321,
        "agency": 123,
        "accountType": "active"
    }
  • realizando deposito (POST):
URI:http://localhost:8080/transaction/saque
BODY:
  {
      "value": 20,
      "reciverId": 1
  }
  • realizando saque (POST):
URI:http://localhost:8080/transaction/deposito
BODY:
  {
      "value": 20,
      "reciverId": 1
  }
  • criando transação (POST):
URI:http://localhost:8080/transaction/createTransaction
BODY:
  {
      "value": 10,
      "senderId": 2, 
      "reciverId": 1
  }
  • realizando consulta na conta (GET):
URI:localhost:8080/checkAccount
BODY:
  {
      "document": 11450434452
  }
  • Bloqueio de conta (GET):
URI:http://localhost:8080/blockAccount
BODY:
  {
      "document": 11450434452
  }

di2win-desafio's People

Contributors

elton-hst avatar

Stargazers

Gabriel Ferreira avatar Flávia Sousa Amazonas 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.