NetCoreMediatrSample
A project that exemplifies a well-considered architectural approach that combines the advantages of both monolithic and microservices paradigms, fostering modularity, maintainability, and scalability.
파일 탐색기
최종 버전 다운로드 (.zip)- UserController.cs
- UserTaskController.cs
- UpdateUserTaskBodyDto.cs
- launchSettings.json
- .dockerignore
- Api.csproj
- appsettings.json
- Dockerfile
- Program.cs
- GetUserIntegrationTests.cs
- Api.IntegrationTests.csproj
- BaseIntegrationTest.cs
- GlobalUsings.cs
- IntegrationTestApiFactory.cs
- launchSettings.json
- .dockerignore
- appsettings.json
- BackgroundWorker.csproj
- Dockerfile
- Program.cs
- CreateUser.cs
- DeleteUser.cs
- GetUser.cs
- CreateUserTask.cs
- DeleteUserTask.cs
- UpdateUserTask.cs
- GetUserTask.cs
- GetUserTasksCreatedByUser.cs
- Components.csproj
- ComponentsExtensions.cs
- GetUserUnitTests.cs
- BaseUnitTest.cs
- Components.UnitTests.csproj
- GlobalUsings.cs
- 20230905193848_Init.cs
- 20230905193848_Init.Designer.cs
- DatabaseContextModelSnapshot.cs
- TaskStatusEnum.cs
- TaskStatusRef.cs
- TaskStatusRefContext.cs
- UserStatusEnum.cs
- UserStatusRef.cs
- UserStatusRefContext.cs
- User.cs
- UserContext.cs
- UserTask.cs
- UserTaskContext.cs
- BaseModel.cs
- BaseModelEnum.cs
- BaseModelEnumExtensions.cs
- BaseModelExtensions.cs
- DatabaseContext.cs
- DatabaseContextFactory.cs
- DataModel.csproj
- DataModelExtensions.cs
- DataModelOptions.cs
- LogUserCreatedEventHandler.cs
- LogUserDeletedEventHandler.cs
- NotifyAssignedUserEventHandler.cs
- EventHandlers.csproj
- EventHandlersExtensions.cs
- NotifyAssignedUserEventHandlerTests.cs
- BaseUnitTest.cs
- EventHandlers.UnitTests.csproj
- GlobalUsings.cs
- UserCreatedEvent.cs
- UserDeletedEvent.cs
- UserTaskCreatedEvent.cs
- UserTaskDeletedEvent.cs
- UserTaskUpdatedEvent.cs
- Events.csproj
- AuthenticationExtensions.cs
- HangfireExtensions.cs
- HangfireJobBus.cs
- BackgroundJobOptions.cs
- IBackgroundJobBus.cs
- CorsExtensions.cs
- CommandBus.cs
- ICommand.cs
- ICommandBus.cs
- ICommandHandler.cs
- Event.cs
- EventBus.cs
- IEvent.cs
- IEventBus.cs
- IEventHandler.cs
- IQuery.cs
- IQueryBus.cs
- IQueryHandler.cs
- QueryBus.cs
- CQRSExtensions.cs
- ValidationBehavior.cs
- BadRequestException.cs
- ForbiddenException.cs
- NotFoundException.cs
- NotSupportedException.cs
- ExceptionHandlingExtensions.cs
- ExceptionHandlingMiddleware.cs
- HealthChecksExtensions.cs
- InvalidStronglyTypedIdException.cs
- StronglyTypedIdBaseEntity.cs
- StronglyTypedIdConversions.cs
- StronglyTypedIdConverter.cs
- StronglyTypedIdHelper.cs
- StronglyTypedIdJsonConverterFactory.cs
- StronglyTypedIdsExtensions.cs
- StronglyTypedIdValidator.cs
- AuthOperationsFilter.cs
- StronglyTypedIdSchemaFilter.cs
- SwaggerExtensions.cs
- Infrastructure.csproj
- INotificationService.cs
- NotificationService.cs
- NotificationService.csproj
- .gitignore
- docker-compose.yaml
- LICENSE
- README.md
- SampleApplication.sln
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/madslundt/NetCoreMediatrSample
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd NetCoreMediatrSample
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker-compose up
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
docker-compose start db
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
