Reindex
TeamBlogDocs

Setup

To get started, you should have the app URL and an admin token for your Reindex app. If you don’t have a Reindex app yet, you can sign up for a free development account at reindex.io.

Get the starter kit

We have assembled an open source starter kit for getting started with Reindex. It includes React and Relay set up together with the reindex-js client library. The starter kit also has examples on how to quickly add authentication to your app and deploy it in production.

Clone the starter kit:

git clone git@github.com:reindexio/reindex-starter-kit-react.git

Install the dependencies and Reindex CLI:

cd reindex-starter-kit-react
npm install
npm install -g reindex-cli

Login to Reindex. You will be prompted for your Reindex URL and admin token.

$ reindex login
Reindex URL: https://YOUR-REINDEX-APP.myreindex.com
Reindex Token: YOUR-REINDEX-TOKEN

Edit ./src/config.js file to contain your URL.

export default {
  REINDEX_URL: 'https://YOUR-REINDEX-APP.myreindex.com',
};
Topics:

Setup

To get started, you should have the app URL and an admin token for your Reindex app. If you don’t have a Reindex app yet, you can sign up for a free development account at reindex.io.

Get the starter kit

We have assembled an open source starter kit for getting started with Reindex. It includes React and Relay set up together with the reindex-js client library. The starter kit also has examples on how to quickly add authentication to your app and deploy it in production.

Clone the starter kit:

git clone git@github.com:reindexio/reindex-starter-kit-react.git

Install the dependencies and Reindex CLI:

cd reindex-starter-kit-react
npm install
npm install -g reindex-cli

Login to Reindex. You will be prompted for your Reindex URL and admin token.

$ reindex login
Reindex URL: https://YOUR-REINDEX-APP.myreindex.com
Reindex Token: YOUR-REINDEX-TOKEN

Edit ./src/config.js file to contain your URL.

export default {
  REINDEX_URL: 'https://YOUR-REINDEX-APP.myreindex.com',
};