This starter is based on Next.js and showcases two main use cases of the Algolia + Uniform integration:
- Ability to register Algolia components from
react-instantsearchas Canvas components (see the/componentsfolder). After the Algolia integration is installed into your Uniform project, you will see new Algolia components added to your component library. This project contains the sample front-end implementation of those components.
- Algolia integration must be installed in your Uniform project. You can install it from the Integrations page in the Uniform dashboard.
- Run
npm run uniform:pushto push the sample search page and Algolia components into your Uniform project.
-
Copy
.env.exampleto.envand fill in your Uniform and Algolia credentials. -
Install dependencies:
npm install
-
Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.