Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gabrielleraujo/credit-proposal


https://github.com/gabrielleraujo/credit-proposal

clean-architecture csharp dead-letter-queue design-patterns docker docker-compose dotnet8 entity-framework-core mediatr microservice middleware polly rabbitmq rabbitmq-consumer rabbitmq-producer rest-api rich-domain-model sql-server

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

# Credit proposal

### New Migration:
- para criar uma migração do banco de dados execute o comando abaixono terminal no caminho "src/CreditProposal.Infrastructure".
1. dotnet ef --startup-project ../CreditProposal.API/ migrations add initial -c CreditProposalContext
2. dotnet ef --startup-project ../CreditProposal.API/ database update

### Docker Compose:
A execuçao do script depende do container do rabbitmq ter sido inicializado para poder subir a api, o rabbitmq está no docker-compose do ms de customer_registration, o quel é o primeiro ms que deve ser inicializado.

### Executar scripts no VS Code:
Terminal > Run Task... > docker-run

### Debub no VS Code:
Run and Debug > .NET Core Docker Attach

### Abrir banco de dados no Azure Data Studio:
utilizar a connction string mudando o o server para localhost e especificar a porta configurada no docker-compose.
Ex: Server=localhost,1434