Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gabrielleraujo/credit-proposal
- Owner: gabrielleraujo
- Created: 2024-10-24T23:57:00.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2024-10-25T17:20:22.000Z (13 days ago)
- Last Synced: 2024-10-26T12:49:11.552Z (12 days ago)
- Topics: 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
- Language: C#
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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