Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

algolia/instantsearch-templates

Repository files navigation

⚠️ DEPRECATED

This 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.

InstantSearch templates

Table of Contents generated with DocToc

What is this?

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: demo

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.

Goal

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!

CodeSandbox links

Here are the CodeSandbox links for all projects:

Running examples locally

Requirements:

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