Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Enable Swagger Documentation and Configure GitHub Workflow for Automatic Deployment to Docker Hub #1

Merged
merged 5 commits into from
May 24, 2024

Conversation

hermesalvesbr
Copy link
Member

Overview
This pull request introduces several key enhancements to our project. It focuses on enabling Swagger documentation for our API, setting up a GitHub Actions workflow for automatic deployment to Docker Hub, and a few additional improvements to streamline our development and deployment processes.

Changes Included:
Enable Swagger Documentation:

Integrated @nestjs/swagger to provide comprehensive API documentation.
Configured Swagger UI to be accessible at /, allowing developers to easily explore and understand the available endpoints and their specifications.
Added annotations to controllers and DTOs to ensure detailed and accurate API documentation.
GitHub Actions Workflow for Docker Deployment:

Added a GitHub Actions workflow file .github/workflows/docker-image.yml.
Configured the workflow to build and push Docker images to Docker Hub upon each push to the main branch.
Included steps to log in to Docker Hub, build the Docker image, and push it with appropriate tags.
Miscellaneous Improvements:

Updated the main application bootstrap file to integrate the Swagger setup with NetJS.
Ensured that all dependencies are properly versioned and aligned to avoid conflicts.
Enhanced logging configurations for better debugging and monitoring.

@hermesalvesbr hermesalvesbr merged commit 79828ec into main May 24, 2024
1 check failed
@hermesalvesbr hermesalvesbr deleted the dockerImage branch May 24, 2024 19:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant