This project was developed as a part of my breakeven as a Jr. Software Engineer on Credit's Team at Stone.
The challenge was to implement an Account Management App (WebApi), where it should be possible to create and deactivate accounts and make transactions.
The project uses Hexagonal Architecture and the following patterns: CQRS, Mediator and Repository.
- Install .NET Core v6.0+
- Clone the repo
git clone [email protected]:thaifurforo/stone-breakeven.git
- Rename the file
launchSettings_sample.json
located atsrc/AccountManagementService.Api/Properties/
tolaunchSettings.json
- Replace the following variables:
"applicationUrl": "{api_iis_url}",
"sslPort": "{sslPort}"
...
"applicationUrl": "{api_url}",
- Add the connection strings to AccountEventStoreDb and AccountReadModelDb into the environment variables:
"environmentVariables": {
"ConnectionStrings__ReadModelSqlConnection": "{readmodel_connectionstring}",
"ConnectionStrings__EventStoreSqlConnection": "{eventstore_connectionstring}"
}
- Create two new Schemas on your local server:
AccountEventStoreDb
andAccountReadModelDb