Esse projeto tem como objetivo o cadastro de clientes e o gerenciamento de contas desses clientes cadastrados.
Antes de começar, você vai precisar ter instalado em sua máquina as seguintes ferramentas:
# Clone este repositório
$ git clone https://github.com/Deidimila/DesafioFinalCSharp.git
# Comando para restaurar os pacotes
dotnet restore
# Comando para rodar o app
dotnet run
# Comando para rodar os testes
dotnet test
As seguintes linguagens e ferramentas foram usadas na construção do projeto:
O projeto possui os seguintes endpoints:
Endpoint | Verb | Description |
---|---|---|
/customer | GET | Get all customers |
/customer/{id} | GET | Get customer by id |
/customer | POST | Add customer |
/customer/{id} | PUT | Update customer |
/customer/{id} | PATCH | Update customer status |
/customer/{id} | DELETE | Delete customer |
Endpoint | Verb | Description |
---|---|---|
/account | GET | Get all accounts |
/account/{id} | GET | Get account by id |
/account | POST | Add account |
/account/{id} | PUT | Update account |
/account/{id} | PATCH | Update account status |
/account/{id} | DELETE | Delete account |
/account/operation | POST | Create operation |
/account/operation | GET | List operations |