This is a sample project implementing a full page search with structured data results using Algolia.
Learn more on the Structure Results guide.
To run this project locally, replace the Algolia credentials in .env
:
ALGOLIA_APP_ID=YOUR_APP_ID
ALGOLIA_API_KEY=YOUR_API_KEY
ALGOLIA_INDEX_NAME_MAIN=YOUR_MAIN_INDEX
ALGOLIA_INDEX_NAME_STRUCTURED=YOUR_STRUCTURED_INDEX
Then, install the dependencies and run the local server:
yarn
yarn start
Open http://localhost:3000 to see the app.
This demo is released by Pocci.
After making change, you need to run yarn run build
and commit the change in build/
folder.