All Projects → algolia → create-instantsearch-app

algolia / create-instantsearch-app

Licence: MIT License
⚡️ Build InstantSearch apps at the speed of thought

Programming Languages

javascript
184084 projects - #8 most used programming language
Handlebars
879 projects
Vue
7211 projects
typescript
32286 projects
CSS
56736 projects
swift
15916 projects

Projects that are alternatives of or similar to create-instantsearch-app

Instantsearch.js
⚡️ A JavaScript library for building performant and instant search experiences with Algolia.
Stars: ✭ 2,799 (+2942.39%)
Mutual labels:  algolia, instantsearch
svelte-algolia
Svelte plugin for keeping Algolia indices in sync with custom data fetching functions.
Stars: ✭ 17 (-81.52%)
Mutual labels:  algolia, instantsearch
musicologist
Music advice from a conversational interface powered by Algolia
Stars: ✭ 19 (-79.35%)
Mutual labels:  algolia, instantsearch
algolia.github.io
Algolia's community projects
Stars: ✭ 12 (-86.96%)
Mutual labels:  algolia, instantsearch
meilisearch-react
www.meilisearch.com/
Stars: ✭ 87 (-5.43%)
Mutual labels:  instantsearch
github-templates
Good templates for the issue, pull request, and contributing templates on GitHub, GitLab, and Bitbucket.
Stars: ✭ 65 (-29.35%)
Mutual labels:  templates
template-studio
A Web UI for creating, editing and testing Accord Project templates
Stars: ✭ 27 (-70.65%)
Mutual labels:  templates
cloudformation
A repository for Caylent AWS CloudFormation templates
Stars: ✭ 14 (-84.78%)
Mutual labels:  templates
ulauncher-docsearch
Ulauncher extension for doing full text search on Documentation sites, powered by Algolia.
Stars: ✭ 20 (-78.26%)
Mutual labels:  algolia
static-string-cpp
Compile-time string manipulation library for modern C++
Stars: ✭ 34 (-63.04%)
Mutual labels:  templates
gatsby-simple-blog
an easily configurable gatsby-starter-blog with overreacted looking and tags, breadcrumbs, disqus, i18n, eslint, algolia supported
Stars: ✭ 48 (-47.83%)
Mutual labels:  algolia
impact-tools
Simple blueprints for change-makers
Stars: ✭ 34 (-63.04%)
Mutual labels:  templates
contentful-to-algolia
⚡️ Transmit content from any Contentful type to Algolia indexes
Stars: ✭ 50 (-45.65%)
Mutual labels:  algolia
mongoolia
Keep your mongoose schemas synced with Algolia
Stars: ✭ 58 (-36.96%)
Mutual labels:  algolia
lua-resty-aries
openresty and lua multi-function template
Stars: ✭ 47 (-48.91%)
Mutual labels:  templates
analogwp-templates
Style Kits for Elementor adds a number of intuitive styling controls in the Elementor editor that allow you to apply styles globally or per page.
Stars: ✭ 20 (-78.26%)
Mutual labels:  templates
briskine
Write faster with templates and keyboard shortcuts.
Stars: ✭ 88 (-4.35%)
Mutual labels:  templates
twitter
A serverless social network that's under development with some cool stuff, such as Serverless Framework, AppSync, GraphQL, Lambda, DynamoDB, Cognito, Kinesis Firehose, and Algolia ☁️
Stars: ✭ 29 (-68.48%)
Mutual labels:  algolia
k6-template-es6
Template repository for bundling test projects into single test scripts runnable by k6
Stars: ✭ 39 (-57.61%)
Mutual labels:  templates
goldstack
JavaScript Project Builder
Stars: ✭ 29 (-68.48%)
Mutual labels:  templates

Create InstantSearch App

⚡️ Build InstantSearch apps at the speed of thought.

Version License Build Status

create-instantsearch-app is a command line utility that helps you quick start your InstantSearch app using any Algolia InstantSearch flavor (InstantSearch.js, React InstantSearch, Vue InstantSearch, Angular InstantSearch, InstantSearch iOS and InstantSearch Android).

Preview

Contents

Get started

The tool requires Node ≥ 8.

npx create-instantsearch-app my-app
cd my-app
npm start

npx is a tool introduced in [email protected] that makes it possible to run CLI tools hosted on the npm registry.


Alternatively, you can use Yarn:

yarn create instantsearch-app my-app
cd my-app
yarn start

Usage

This package comes with the module createInstantSearchApp(path, options?) and the command-line tool create-instantsearch-app.

$ create-instantsearch-app --help

  Usage: create-instantsearch-app <project-directory> [options]

  Options:

    -v, --version                                      output the version number
    --name <name>                                      The name of the application
    --app-id <appId>                                   The application ID
    --api-key <apiKey>                                 The Algolia search API key
    --index-name <indexName>                           The main index of your search
    --attributes-to-display <attributesToDisplay>      The attributes of your index to display
    --attributes-for-faceting <attributesForFaceting>  The attributes for faceting
    --template <template>                              The InstantSearch template to use
    --library-version <libraryVersion>                 The version of the library
    --config <config>                                  The configuration file to get the options from
    --no-installation                                  Ignore dependency installation
    --no-interactive                                   Do not ask any interactive questions
    -h, --help                                         output usage information

--template

Supported templates are:

create-instantsearch-app my-app --template "React InstantSearch"

You can also create your own template and specify its path.

--config

The config flag is handy to automate app generations.

config.json
{
  "name": "my-app",
  "template": "InstantSearch.js",
  "libraryVersion": "2.8.0",
  "appId": "MY_APP_ID",
  "apiKey": "MY_API_KEY",
  "indexName": "MY_INDEX_NAME",
  "searchPlaceholder": "Search",
  "attributesToDisplay": ["name", "description"],
  "attributesForFaceting": ["brand", "location"]
}

Create the app based on this configuration:

create-instantsearch-app my-app --config config.json

API

create-instantsearch-app is based on the module createInstantSearchApp(path, options?). The same camel cased options as the CLI are available.

const createInstantSearchApp = require('create-instantsearch-app');

const app = createInstantSearchApp('~/lab/my-app', {
  template: 'InstantSearch.js',
  libraryVersion: '2.0.0',
  attributesToDisplay: ['name', 'description'],
  attributesForFaceting: ['keywords'],
});

app.create().then(() => console.log('App generated!'));

Tutorials

Previews

You can use the web templates on CodeSandbox:

License

Create InstantSearch App is MIT licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].