Node.js Index data exporter for Algolia.
git clone https://github.com/je-poy/algolia-data-exporter.git
npm install
- Add
.env
on the root dir containing the code below with preferred values.
ALGOLIA_APPID=
ALGOLIA_ADMINKEY=
ALGOLIA_INDEX=
EXTRACT_PATH=./data <change on your own desire>
TIMEZONE=<momenttimezone of your preference>
- Add extraction folder on the root dir. Used the value from your
.env
as folder name. - Run
npm start
. - Navigate to your extraction folder and check the file named
<current_date>-<index>.json
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.