Conversation
…otifications, reactions, and reports; add service layers for handling business logic.
…ialization fix(config): correct environment variable name for MongoDB database chore(go.mod): update dependencies and add new indirect dependencies
…ialization fix(config): correct environment variable name for MongoDB database chore(go.mod): update dependencies and add new indirect dependencies
…eve, and update functionalities
… follows, reactions, and reports
…ication and error handling
…llows, and reports
…etup; remove unused comment and article files
…pagination & filtering - Persist articles in MongoDB with insert, update, delete, restore, get by ID/slug - Support publish/unpublish/archive/unarchive - Enable pagination and filtering for author and general searches
…base into feat/article_usecase
…on and suggestions
…tion, and password reset functionality
…rfaces feat: update article, repository, and usecase implementations - Generated mocks for IArticleRepository and IArticlePolicy using mockery - Integrated mocks into table-driven tests - Refactored usecase logic to support testing with mocked dependencies
…ng, and repository implementation
… implement testing for controller
…file updates and error handling
…ed users and revoked tokens
Feat/article controller
- Updated MongoCommentRepository to log comment ID fetching and handle ObjectID conversion in GetByID method. - Refactored GeminiClient to utilize the genai package for generating suggestions and content, improving error handling and response parsing. - Added a utility function to strip code fences from the AI responses. - Removed deprecated HTTP request logic in favor of the new genai client methods. - Introduced stricter content guidelines in AI prompts to ensure appropriateness. - Added a new binary file for the main executable.
feat(ai_routes): add generate-content endpoint to AI routes
…ion flow with cleanup for unverified users
…ict markers in router.go, and tidy imports in container.go
- Added unit tests for Comment, Follow, Reaction, Report, and User use cases to ensure basic functionality. - Implemented a new function to create indexes in MongoDB for improved query performance across comments, reactions, follows, and reports collections. - Created a probe file for internal mocks.
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
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.