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

Feat/rebuild #2

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Feat/rebuild #2

wants to merge 21 commits into from

Conversation

tuanngocptn
Copy link
Owner

No description provided.

- Removed old .env and .env.dev files; added new configuration files in config/ directory.
- Updated docker-compose.yml to include a new nport-site service and adjusted volume paths.
- Introduced new site.dockerfile for serving static content.
- Modified client and server Dockerfiles to change working directory to /app.
- Added run.sh script for simplified docker-compose commands.
- Updated package.json and package-lock.json to include uuid dependency.
- Created index.html for initial site structure and added socket.io client integration.
- Refactored client and server services to improve socket handling and request streaming.
… and server services

- Replaced the custom socket initialization with the socket.io client directly in the client service.
- Simplified error handling and request processing in the server service by removing unnecessary try-catch blocks.
- Enhanced the setup of incoming client connections and tunnel requests for better readability and maintainability.
- Improved logging for connection and error events to provide clearer insights during runtime.
…essing in client and server services

- Renamed and reorganized functions for better clarity and maintainability in the client service.
- Improved error logging and streamlined socket event handling in both client and server services.
- Updated HTTP request handling in the server service to enhance readability and efficiency.
- Added detailed comments and documentation for key functions to facilitate future development.
- Added 'validator' package to validate URLs in the server service.
- Replaced 'is-valid-domain' with 'validator.isURL' for improved domain validation logic.
- Updated package.json and package-lock.json to include the new 'validator' dependency.
- Cleaned up package-lock.json by removing outdated 'semver' entries and ensuring all dependencies are up to date.
- Replaced the existing entry point in docker-compose.yml to run the website using npm.
- Removed the old index.html file and created a new one with a complete structure for the NPort website.
- Added a webpack configuration file to manage asset bundling and optimization.
- Updated package.json and package-lock.json to include new dependencies for webpack and related plugins.
- Introduced a new site.dockerfile for serving the static website content.
- Enhanced the client and server services to support the new website structure and improve overall functionality.
- Added various assets including images, styles, and scripts for the website.
- Created a robots.txt and sitemap.xml for better SEO and indexing.
- Created new CNAME, favicon, and index.html files for the NPort website.
- Added CSS and JavaScript files for styling and functionality.
- Included robots.txt and sitemap.xml for SEO optimization.
- Introduced various image assets for branding and user interface.
- Implemented a script for clipboard functionality to enhance user experience.
- Introduced new favicon, index.html, and essential assets for the NPort website.
- Added CSS and JavaScript files for styling and functionality enhancements.
- Created robots.txt and sitemap.xml for improved SEO and indexing.
- Included various image assets for branding, including logos and icons.
- Implemented a web manifest for better integration with mobile devices.
- Migrated the website to use Jekyll for static site generation, introducing a new directory structure and essential configuration files.
- Added new HTML files including index.html, about.html, and 404.html, along with a feed.xml for RSS support.
- Created a comprehensive _config.yml for site settings and a Gemfile for dependency management.
- Removed the obsolete site.dockerfile and integrated necessary configurations into the Docker setup.
- Updated docker-compose.yml to streamline service definitions and improve build processes.
- Enhanced the run.sh script for better Docker command execution.
- Introduced new CSS and JavaScript assets for styling and functionality improvements.
- Included social media icons and optimized the website for SEO with appropriate meta tags.
… setup

- Deleted babel.config.json and webpack.config.js as they are no longer needed.
- Updated docker-compose.yml to enhance service definitions for nport-server, nport-nginx, and nport-client.
- Cleaned up package.json and package-lock.json by removing outdated dependencies related to Babel and Webpack.
- Adjusted default port in client configuration from 8080 to 4000 for consistency.
- Removed old website assets and configurations to simplify the project structure and improve maintainability.
- Removed obsolete HTML files (404.html, index.html, about.html, feed.xml, and welcome-to-jekyll.html) and CSS files to streamline the project.
- Introduced a new website structure using Jekyll, including essential configuration files (_config.yml, CNAME, robots.txt, sitemap.xml).
- Added new HTML templates and includes for better modularity (head.html, footer.html, home.html).
- Implemented new CSS and JavaScript assets for improved styling and functionality.
- Created various image assets and webp formats for branding, including logos and favicons.
- Enhanced SEO with appropriate meta tags and sitemap integration.
- Established clipboard functionality for user interaction improvements.
…ructure

- Deleted client and server JavaScript files along with their service files to eliminate unused code.
- Removed various website assets including HTML, CSS, images, and configuration files to simplify the project.
- Cleaned up the repository by eliminating outdated resources, enhancing maintainability and clarity.
…ild process

- Introduced babel.config.json to configure Babel with presets and plugins for ES6+ support.
- Updated package.json and package-lock.json to include necessary Babel dependencies: @babel/cli, @babel/core, @babel/preset-env, and babel-plugin-replace-import-extension.
- Modified the release script in package.json to ensure proper cleanup of dist directories before building.
- Enhanced project structure for better maintainability and compatibility with modern JavaScript features.
…ure for NPort

- Introduced client and server entry points with command-line interface using yargs for easy configuration.
- Developed client and server services to establish socket connections and handle requests efficiently.
- Restructured the website using Jekyll, adding essential HTML files, CSS, and JavaScript for improved user experience.
- Created various assets including favicons, logos, and web manifest for better branding and mobile integration.
- Implemented SEO enhancements with robots.txt, sitemap.xml, and appropriate meta tags for better indexing.
- Added clipboard functionality for user interaction improvements and streamlined project structure for maintainability.
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