Skip to content

merge Source into main#5

Merged
CallmeSen merged 52 commits intomainfrom
SOURCE
Dec 18, 2025
Merged

merge Source into main#5
CallmeSen merged 52 commits intomainfrom
SOURCE

Conversation

@CallmeSen
Copy link
Owner

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:

  • Added a GitHub Actions workflow (backend-ci.yml) to automate CI for backend changes, including linting, building, and running tests on specified branches.
  • Introduced Jest configuration for backend end-to-end tests with jest-e2e.json.
  • Added unit tests for authentication logic, covering token generation and postcode validation in auth.unit.spec.ts.
  • Added comprehensive unit tests for notification counting logic in notification.unit.spec.ts.

Frontend setup and configuration:

  • Added a .gitignore to exclude dependencies, build artifacts, environment files, and other common files from version control.
  • Added a README.md with instructions for starting and deploying the Next.js frontend.
  • Introduced a dockerfile for building and running the frontend in a Docker container.
  • Added a components.json configuration for UI component setup (shadcn/ui) and path aliases.
  • Added a multi-project jest.config.js for frontend unit and integration testing with TypeScript and alias support.
  • Added a basic next.config.ts with image domain configuration and React strict mode.

Frontend CI/CD:

  • Added a GitHub Actions workflow (node.yml) for automated frontend CI, including install, build, and test steps on the "source" branch.

CallmeSen and others added 22 commits December 14, 2025 16:35
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.
@CallmeSen CallmeSen merged commit ede3ea2 into main Dec 18, 2025
1 check passed
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.

4 participants