The Consumer Data Right (CDR) Product Comparator is an open-source, proof of concept (PoC) project, developed in React, for the CDR community. This tool allows users to compare financial products by accessing data directly from unauthenticated APIs of registered Data Holders.
The Data Standards Body offers a live demo of the Product Comparator, accessible online for immediate use without any setup. This instance enables users to:
- View a comprehensive list of registered Data Holder Brands and their public details, automatically sourced from the CDR Register and updated within the tool.
- Temporarily add Data Holder brands and their server URLs using the 'Add' button.
- Fetch product data from the unauthenticated CDR product APIs (PRD), health check status data from the Status APIs and scheduled outage data from the Outages APIs for testing and verification.
- Compare products openly offered to the market by the Data Holders, displayed on a user-friendly, responsive webpage.
- Access a detailed log of API calls and responses for debugging Data Holder implementations.
Additionally, you can set up a local instance of the Product Comparator demo for customised and extended use cases. For more information, refer to the Local Setup and Customisation section below.
Before you begin, ensure you have the following installed:
- Git, for cloning the repository.
- Node.js (v10 or higher).
- npm (Node Package Manager) - included with Node.js installation.
- Yarn (Optional but preferred) - Javascript package manager
-
Create a fork of this repository. To do this, click the Fork button in the top right corner of the GitHub repository home page.
-
After forking the repository, clone it to your local machine. You can do this by running the following command in your terminal or command prompt:
git clone https://github.com/your-username/project-name.git
Replace
your-username
with your GitHub username andproject-name
with the name of your repository. -
Once the repository is cloned, navigate to the project directory by running:
cd project-name
Replace
project-name
with the name of the repository. -
Finally, install all necessary dependencies by running the following command in the project directory:
npm install
Or, if you prefer using Yarn:
yarn install
-
Start the development server locally by running the following command in the project directory:
npm run start
Or, if you are using Yarn:
yarn start
-
Open your web browser and navigate to http://localhost:3000 to access the CDR Product Comparator (Demo) application.
- Customise the project as needed for your specific use case.
- Run
npm run build
ORyarn build
to build production release
We welcome contributions from the community! If you'd like to contribute to this project, please follow these simple steps:
-
Create a new branch for your work from the
master
branch:git checkout -b feature/your-feature-name
-
Begin making your changes or contributions.
-
Follow the instructions in the project repository to run and test your changes locally.
-
Commit your changes with clear and concise commit messages.
-
Push your changes to your forked repository.
-
Open a pull request (PR) using the master branch in the original repository as the destination branch. Include a detailed description of your changes and the problem you are addressing.
-
Engage in the discussion on your PR and make any necessary adjustments based on feedback from maintainers and other contributors.
-
Once your PR is approved and all tests pass, it will be merged into the project.
Please ensure your contributions align with our project's objectives and guidelines.
Encountered an issue? We're here to help. Please visit our issue reporting guidelines for submitting an issue.
Join our newsletter to receive the latest updates, release notes, and alerts. Subscribe here.
The artefact is released under the MIT License, which allows the community to use and modify it freely.
The artefacts in this repository are offered without warranty or liability, in accordance with the MIT licence.
The Data Standards Body (DSB) develops these artefacts in the course of its work, in order to perform quality assurance on the Australian Consumer Data Right Standards (Data Standards).
The DSB makes this repository, and its artefacts, public on a non-commercial basis in the interest of supporting the participants in the CDR ecosystem.
The resources of the DSB are primarily directed towards assisting the Data Standards Chair for developing the Data Standards.
Consequently, the development work provided on the artefacts in this repository is on a best-effort basis, and the DSB acknowledges the use of these tools alone is not sufficient for, nor should they be relied upon with respect to accreditation, conformance, or compliance purposes.