The Africa Data Hub Inflation Observer is designed to provide journalists, researchers, and civil society organizations with access to up-to-date information on inflation indicators in their respective countries while enabling comparisons with neighboring nations. This application is built with React.js and sources data from the IMF, various national agencies, and the Africa Data Hub.
To set up the application for local development, follow these steps:
Install the required dependencies by running the following command within your project folder:
yarn
You will need a valid CKAN API key. Add a .env file in the project root with the following content:
REACT_API_KEY=<provided-key-here>
Start the local development server with the following command:
yarn dev
To deploy the application, follow these steps:
yarn dev
..parcel_cache
folder.dist
folder..parcel_cache
just in case.yarn build
.