Skip to content

Conversation

@iamyeetz
Copy link

@iamyeetz iamyeetz commented Jul 9, 2025

Refactored project structure and codebase

  1. Separated layers according to clean architecture:

    • Application: contains service logic
    • Core: contains entities
    • Infrastructure: contains repositories
  2. Cleaned up database entities:

    • Removed unnecessary implementations
    • Retained only essential properties and DB structure
  3. Introduced interfaces for:

    • Dependency injection
    • Mocking in unit tests
  4. Abstracted service via interface to support future Web API upgrade

  5. Changed Nunit to Xunit + Moq

    • Mocking Irepository instead of creating concrete object
    • Added Null Checking test

iamyeetz added 2 commits July 10, 2025 03:35
1. Separated layers according to clean architecture:
   - Application: contains service logic
   - Core: contains entities
   - Infrastructure: contains repositories

2. Cleaned up database entities:
   - Removed unnecessary implementations
   - Retained only essential properties and DB structure

3. Introduced interfaces for:
   - Dependency injection
   - Mocking in unit tests

4. Abstracted service via interface to support future Web API upgrade

5. Changed Nunit to Xunit  + Moq
    - Mocking Irepository instead of creating concrete object
    - Added Null Checking test
@iamyeetz
Copy link
Author

iamyeetz commented Jul 9, 2025

@re-leased-hiring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant