Skip to content
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

Wolfsoul01 microservice recruitment #27

Open
wants to merge 13 commits into
base: development
Choose a base branch
from

Conversation

wolfsouldev
Copy link

@wolfsouldev wolfsouldev commented Oct 15, 2024

Pull Request Description

This PR addresses the following requirements:

  • CRUD Endpoints for Images: Implemented endpoints for uploading, retrieving, and deleting image files, facilitating their management.

  • Thumbnail Generation: Upon uploading an image, two thumbnails of 60x60 and 120x120 pixels are automatically generated for use in different contexts.

  • Mock Authentication: Created a mock authentication guard that logs who uploaded the files and when, storing this information in the File entity in PostgreSQL.

  • Caching with Redis: Implemented caching using Redis, improving performance by reducing access time to stored images.

  • Environment Variable Validation: Added validations to ensure that environment variable configurations are correct, thereby ensuring the stability of the service.

  • Separation of Firebase Logic: Reorganized the code to decouple the logic for interacting with Firebase, resulting in a cleaner and more maintainable design.

  • Documentation with Swagger: All endpoints are documented using the Swagger module provided by NestJS, allowing for a more intuitive understanding and use.

  • Automated Tests: Implemented automated tests

  • Automatic Migration with TypeORM: Automatically generated a migration file using the commands npm run migration:generate and npm run migration:run.

Best regards.

@space-dev-01 space-dev-01 deleted the wolfsoul01-microservice-recruitment branch October 16, 2024 06:50
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