Conversation
This workflow sets up a CI pipeline for Node.js projects, including installation, build, and test steps across multiple Node.js versions.
Deleted old test files from 'Backend/src/modules' and 'Backend/src/test', and added new or migrated test files under 'backend/src/test' with updated integration, unit, and system test coverage. Also removed the Node.js GitHub Actions workflow file. This change consolidates and modernizes the test suite structure for improved maintainability.
fix database, frontend UI, redirect link, fix book components in BE
Reformats and improves the integration tests for authentication and book modules. The changes include code style cleanup, improved test structure, and additional test cases for edge scenarios such as Google OAuth, password reset, SQL injection, and category-based book queries. The refactor enhances readability, maintainability, and coverage of the test suites.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several foundational improvements for both the backend and frontend of the project. It adds automated CI workflows, initial unit tests for backend modules, and essential configuration files for the frontend, including Docker and testing setups. These changes help establish a robust development and testing environment for both parts of the application.
Backend improvements:
backend-ci.yml) to automate CI for backend changes, including linting, building, and running tests on specified branches.jest-e2e.json.auth.unit.spec.ts.notification.unit.spec.ts.Frontend setup and configuration:
.gitignoreto exclude dependencies, build artifacts, environment files, and other common files from version control.README.mdwith instructions for starting and deploying the Next.js frontend.dockerfilefor building and running the frontend in a Docker container.components.jsonconfiguration for UI component setup (shadcn/ui) and path aliases.jest.config.jsfor frontend unit and integration testing with TypeScript and alias support.next.config.tswith image domain configuration and React strict mode.Frontend CI/CD:
node.yml) for automated frontend CI, including install, build, and test steps on the "source" branch.