Skip to content

feat: add project management functionality with GraphQL integration#26

Open
Noemie-Koelblen wants to merge 17 commits intomainfrom
007-project
Open

feat: add project management functionality with GraphQL integration#26
Noemie-Koelblen wants to merge 17 commits intomainfrom
007-project

Conversation

@Noemie-Koelblen
Copy link
Copy Markdown
Contributor

  • Introduced project schema with types, queries, and mutations for managing projects.
  • Implemented project resolver to handle project-related operations (CRUD).
  • Created ProjectRepository for database interactions related to projects.
  • Added migrations for project-related tables and relationships.
  • Updated image handling for project thumbnails and mockups.
  • Refactored StackRepository to use new asset paths.
  • Enhanced existing repositories and resolvers to accommodate project data.

- Introduced project schema with types, queries, and mutations for managing projects.
- Implemented project resolver to handle project-related operations (CRUD).
- Created ProjectRepository for database interactions related to projects.
- Added migrations for project-related tables and relationships.
- Updated image handling for project thumbnails and mockups.
- Refactored StackRepository to use new asset paths.
- Enhanced existing repositories and resolvers to accommodate project data.
@Noemie-Koelblen Noemie-Koelblen self-assigned this Apr 3, 2026
@Noemie-Koelblen Noemie-Koelblen linked an issue Apr 3, 2026 that may be closed by this pull request
8 tasks
…ode readability

- Added comprehensive JSDoc comments to RoleRepository, SettingsRepository, and StackRepository to clarify method functionalities and parameters.
- Improved code structure and readability by adding comments and refining type annotations in various repository methods.
- Introduced new interfaces in projectTypes for better type safety and clarity.
- Enhanced utility functions for password handling and image processing with detailed documentation.
- Updated anti-bruteforce logic with comments for better understanding of the implementation.
…nd migrations

- Added MediaRepository for handling media-related database operations.
- Created media types and constants for consistent media handling.
- Developed GraphQL resolvers and schemas for media queries and mutations.
- Implemented migration to create 'medias' table and update foreign keys in 'stack' and 'project' tables.
- Updated StackRepository and Project types to integrate media references.
- Refactored image saving utility to accommodate new media structure.
- Enhanced category types to support media entities.
- Removed unused methods and comments from roleResolver and stackResolver.
- Simplified role retrieval logic in roleResolver.
- Updated stackResolver to directly use IDs for category and icon fields.
- Adjusted GraphQL schemas to use ID types instead of complex objects for categories, roles, and media.
- Refactored repositories (CategoryRepository, CoworkerRepository, MediaRepository, ProjectRepository, RoleRepository, StackRepository) to streamline data retrieval and reduce complexity.
- Removed ImageFile type and associated logic from repositories and types.
- Updated Project and Stack types to use string IDs for relationships instead of nested objects.
- Cleaned up unnecessary imports and comments across various files.
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.

Permettre à l'administrateur de gérer les projets

1 participant