-
Notifications
You must be signed in to change notification settings - Fork 2
Re-architecture to Clean Architecture #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mildronize
wants to merge
46
commits into
main
Choose a base branch
from
main.architect
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…int configuration
…function and tests
…est configurations
…ations, add shared library, and remove unused entities
…Prettier setup, define user repository interface, and implement user use case
…user repository implementation, and configure ESLint, Prettier, and Vitest
…Prettier, and Vitest setup, including shared library implementation and tests
… exports, new UserController implementation, and TypeScript configuration adjustments
…ne exports, update repository imports, and implement dependency injection
… and implement add function with tests
…ve unused test scripts, and delete shared module files
… and configuration files
…gument processing
…ct structure documentation
mildronize
added a commit
that referenced
this pull request
May 18, 2025
* misc: update import paths and enhance tsconfig for consistent module resolution * misc: change alias from # to ~ * feat: migrate to t3 stack * feat: change VERCEL_URL to BASE_URL
* feat: migrate to clean architecture (#1) * Feature/migrate to t3 stacks (#2) * misc: update import paths and enhance tsconfig for consistent module resolution * misc: change alias from # to ~ * feat: migrate to t3 stack * feat: change VERCEL_URL to BASE_URL * fix: import * Feature: add Data Layer for Users Domain (#3) * feat: update README and docker-compose for MongoDB setup * feat: refactor User entity and repository, add mongoose integration * refactor: remove unused shared and add functions, clean up tests * feat: implement in-memory and mongoose user repositories, update dependency bindings * feat: switch IUserRepository binding to MongooseUserRepository and export mongoose module * refactor: di to outside * feat: add MongooseClient for MongoDB connection management and update exports * chore: upgrade deps * chore: update dependencies and devDependencies in package.json files * refactor: BaseController * feat: enhance DI container with MongoDB configuration and add AppConfig interface * feat: add dotenv configuration for MongoDB connection and update docker-compose for ARM architecture * feat: implement DIContainer for dependency injection and update index export * feat: enhance dependency injection with shared module and implement logging interfaces * feat: refactor UserController and SharedControllerDeps for improved dependency management; enhance error handling in runCommand * refactor: type * feat: add 'check-types:watch' script to various package.json files and update CLI for type checking * feat: enhance User entity and Mongoose model with createdAt and updatedAt fields; implement getById method in UserController * feat: implement UserController and UserDto; refactor user repository interfaces and use cases for improved structure and functionality * feat: refactor user-related entities and repositories for improved type handling; update UserController and CLI logging * feat: introduce SystemMetadata interface and refactor User and UserDto types for improved structure; remove unused types * feat: refactor IUserRepository and UserUseCase to use UserUseCaseInput and UserUseCaseOutput types; remove UserDto and update UserController accordingly * feat: refactor IUserRepository and UserUseCase to use UserUseCaseArgs; implement additional methods for CRUD operations and pagination * feat: implement user listing and pagination in UserController; remove InMemoryUserRepository and update related exports * refactor: core package with prefix number layer * refactor: remove unused shared components and simplify UserController dependencies * refactor: replace DIContainer with AppContextBuilder for improved dependency management and initialization * refactor: remove unused MongoUri and MongoOptions definitions from ServiceRegistry * refactor: clean up code formatting and improve consistency across various files * resolve conflict * fix: remove unused UI property from turbo.json
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.