This repository demonstrates how to use CxReports in CI/CD scenarios, including automated testing and workspace initialization.
- Automated Workspace Initialization: On startup, the app initializes the
invoicingworkspace and imports a sample invoice report fromworkspaces/invoicing/CxReportsExport.json. - End-to-End Testing: Uses Playwright and the @cx-reports/api-client to verify report generation and PDF export.
Start the CxReports server and a PostgreSQL database using Docker Compose:
docker-compose up -dTo run the automated tests, execute the following command:
npm install
npm testThis project is licensed under the MIT License - see the LICENSE file for details.