Skip to content

Commit

Permalink
refactor(features,naming,structure): restructured features folders to…
Browse files Browse the repository at this point in the history
…gether with commands, queries and domainevents; refactor of tests based on new changes; added global usings as well
  • Loading branch information
mezdelex committed Nov 10, 2024
1 parent 8fb68fd commit b22deda
Show file tree
Hide file tree
Showing 97 changed files with 1,054 additions and 1,081 deletions.
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DATABASE=cleantemplate
USERNAME=mezdelex
PASSWORD=LapGMhZn55d3omG2jlLZ
APP_DATABASE=cleantemplate
APP_USERNAME=mezdelex
APP_PASSWORD=LapGMhZn55d3omG2jlLZ
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ services:
rabbitmq:
image: rabbitmq:management
environment:
RABBITMQ_DEFAULT_USER: ${USERNAME}
RABBITMQ_DEFAULT_PASS: ${PASSWORD}
RABBITMQ_DEFAULT_USER: ${APP_USERNAME}
RABBITMQ_DEFAULT_PASS: ${APP_PASSWORD}
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
Expand All @@ -29,7 +29,7 @@ services:
image: mcr.microsoft.com/mssql/server
environment:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD: ${PASSWORD}
MSSQL_SA_PASSWORD: ${APP_PASSWORD}
ports:
- "1433:1433"
restart: always
Expand All @@ -50,8 +50,8 @@ services:
condition: service_started
environment:
ASPNETCORE_HTTP_PORTS: 8000
DATABASE: ${DATABASE}
USERNAME: ${USERNAME}
PASSWORD: ${PASSWORD}
DATABASE: ${APP_DATABASE}
USERNAME: ${APP_USERNAME}
PASSWORD: ${APP_PASSWORD}
ports:
- "8000:8000"

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions src/Application/Categories/GetAsync/GetCategoryQuery.cs

This file was deleted.

36 changes: 0 additions & 36 deletions src/Application/Categories/GetAsync/GetCategoryQueryHandler.cs

This file was deleted.

5 changes: 0 additions & 5 deletions src/Application/Categories/PatchAsync/PatchCategoryCommand.cs

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions src/Application/Categories/PatchAsync/PatchedCategoryEvent.cs

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions src/Application/Categories/PostAsync/PostCategoryCommand.cs

This file was deleted.

48 changes: 0 additions & 48 deletions src/Application/Categories/PostAsync/PostCategoryCommandHandler.cs

This file was deleted.

This file was deleted.

Loading

0 comments on commit b22deda

Please sign in to comment.