⚠️ DEPRECATEDThis repository has been replaced by Create InstantSearch App. This is a command-line tool to bootstrap InstantSearch applications and that creates templates usable on CodeSandbox.
Find all templates in the
templates
branch.
Table of Contents generated with DocToc
This repository holds a set of starter templates for all the projects of the InstantSearch team at Algolia.
All the templates are displaying the same search UI:
The JavaScript client and helper templates are not full search UIs because we do not recommend you to use them for that. But we still provide quick templates for those so that you can demonstrate bugs when needed.
The goal is to use those templates in any situation where:
- as a user, you want to showcase us some code example
- as a user, you want to showcase us a bug in our libraries
- as a contributor, you want to ask a user to show us a bug
- you just want to kickstart a demo
- those templates are also linked inside our GitHub issue templates
This repository is automatically linked to CodeSandbox, so all examples are available inside a nice online code editor with live preview.
If the repository is updated, the online examples will be updated too, very handy!
Here are the CodeSandbox links for all projects:
- InstantSearch.js
- React InstantSearch
- Angular InstantSearch
- Vue InstantSearch
- Autocomplete.js
- JavaScript client
- JavaScript helper
Requirements:
- Node.js >= v9.6.1, use nvm - install instructions
- Yarn >= v1.3.2 - install instructions
cd ~/Dev
git clone git@github.com:algolia/instantsearch-templates.git
cd instantsearch-templates
yarn
yarn isjs # InstantSearch.js
yarn ris # React InstantSearch
yarn ais # Angular InstantSearch
yarn vis # Vue InstantSearch
yarn ajs # Autocomplete.js
yarn jsclient # JavaScript client
yarn jshelper # JavaScript helper