This project use .Net Core 3.1
- .NET Core 3.1
- Entity Framework Core 3.1
- IdentityServer4
- MediatR
- Autofac
- AutoMapper
- FluentValidation
- Refit
- Clean Architecture
- DDD
- MediatR
- Seeding initial data by using Code First approach
- Logging and Exception Handling
- Inter-commutation between services secured (OAUTH).
- API Versioning
-
Core This will contain all entities, exceptions, interfaces, types and logic specific to the domain layer.
-
Infrastructure This layer contains all application logic and classes for accessing external resources.
-
Api This layer is a RestApi application based and .NET Core API 3.1. This layer depends on the Infrastructure layer.
- IdentityServer
- CustomerService.Core
- CustomerService.Infrastructure
- CustomerService.API - this service call account service to get list of accounts releat to cutomer
- AccountService.Core
- AccountService.Infrastructure
- AccountService.API
- StatementService.Core
- StatementService.Infrastructure
- StatementService.API
Set Startup project from solution and make 3 services start (IdentityServer, CustomerService.API, AccountService.API, StatementService.API)
- Use username/password nasr
- from swagger UI heat this path to make call get (/api/v1/Customers/{id}) you can use 1 to retrieve simple data this will get customer details include account info from account service you need to be Authorized from swagger UI to get access