Skip to content

Conversation

@adgator101
Copy link
Contributor

This pull request introduces several important updates to the backend, including new database migrations for audit logging and image management, improvements to the documentation and project setup, and enhancements to code style and developer tooling. The changes focus on expanding feature support (audit logs, event images, contributor uniqueness), clarifying contribution guidelines, and streamlining the onboarding process for new developers.

Database schema and migrations:

  • Added new tables and enums for audit logs (AuditLogs) and event images (event_images), including foreign key relationships and indexing for efficient querying.
  • Introduced unique constraints for contributors.github_username and the combination of project_contributors.project_id and contributor_id to prevent duplicate entries.
  • Added an avatar_url field to the members table and a public_id field to the event_images table, while removing the deleted_at column from event_images. [1] [2]

Documentation and onboarding improvements:

  • Overhauled README.md with clearer setup instructions, prerequisites, architecture overview, and migration commands; added a new diagram in docs/Contributor_CRON_Architecture.MD to explain the contributor cron job workflow. [1] [2]
  • Updated CONTRIBUTING.md to clarify project structure, naming conventions, code style, Prisma migration steps, and method organization within services and controllers. [1] [2] [3] [4] [5]

Developer tooling and environment:

  • Added a .prettierrc file for consistent code formatting and included prettier and node-cron as dependencies in package.json. [1] [2] [3]
  • Updated .env.example to include new environment variables for Cloudinary and GitHub integration.

samTime101 and others added 30 commits September 22, 2025 13:59
Added parameter validation on event id and moved event docs to Events/ with new tests
Introduced Image Upload Support for members routes
Made GITHUB related envs optional and validation is skipped for 'test' environments
Cloudinary Integrated on Events with code refactoring , code formatting with prettier , Jsdocs integration and middleware update for multipart form
fix(audit): resolve middleware execution issues and prevent recursion
fix(audit): add a entity check to only check for defined models
adgator101 and others added 21 commits September 28, 2025 11:27
feat(audit): add auditlogs migration files
Image upload support for projects and refactored tag Association
Feat: Fully working event update with additional refactoring to overa…
Introduce CRON Job for Contributors Fetching
Update Project Documentation
@Aayush0966 Aayush0966 merged commit e6bd3fc into main Sep 30, 2025
1 check failed
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.

5 participants