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

Feature: Enable WebSocket and HTTPS Protocols with Docker Integration #40

Merged
merged 10 commits into from
Jul 3, 2024

Conversation

HlexNC
Copy link
Member

@HlexNC HlexNC commented Jul 3, 2024

Description

This pull request introduces comprehensive updates to enable both WebSocket and HTTPS protocols in the client and server applications. The changes aim to enhance communication flexibility and secure connections while ensuring smooth integration with Docker.

Key Changes

  1. Docker Integration:

    • Updated Docker Compose configuration to expose necessary ports.
    • Modified Dockerfiles for client and server to support the new setup.
  2. Client Enhancements:

    • Added environment variables for WebSocket and HTTPS URLs.
    • Updated the application to toggle between WebSocket and HTTPS protocols.
    • Improved the Navbar component to reflect connection status and allow protocol switching.
  3. Server Enhancements:

    • Implemented support for both HTTP and HTTPS servers based on environment configuration.
    • Updated WebSocket server implementation to handle secure connections.
  4. Configuration and Environment:

    • Updated .env.example files for both client and server to include SSL paths and usage.
    • Adjusted server and client configuration files to read from environment variables for flexibility.

Summary

These updates enhance the project's communication capabilities by supporting both WebSocket and HTTPS protocols. Additionally, the integration with Docker ensures that the development and deployment processes are streamlined and secure. The enhancements to the client application provide a better user experience through dynamic protocol switching and improved status indication.

@HlexNC HlexNC added feature New capabilities or enhancements to existing functionalities. refactor Code changes that improve structure and readability without modifying behavior. security Enhancements or patches that improve software security. labels Jul 3, 2024
@HlexNC HlexNC requested a review from Denisa-Iulia July 3, 2024 10:58
@HlexNC HlexNC self-assigned this Jul 3, 2024
Copy link

github-actions bot commented Jul 3, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@HlexNC HlexNC merged commit 1cbebc7 into dev-server Jul 3, 2024
1 check passed
@HlexNC HlexNC deleted the feature/server-docker-configure branch July 3, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New capabilities or enhancements to existing functionalities. refactor Code changes that improve structure and readability without modifying behavior. security Enhancements or patches that improve software security.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants