Giter Club home page Giter Club logo

instant-search-demo's Introduction

Instant-Search Demo

This is a sample project implementing an instant-search based e-commerce website with Algolia. Algolia is a Search API that provides hosted full-text, numerical and faceted search.

Features

  • Full JavaScript (based on jQuery, Hogan.js and AlgoliaSearch)
  • Results page refreshed as you type
    • Hits
    • Facets
    • Pagination
  • Relevant results from the first keystroke
  • Typo-tolerance
  • Multiple sort orders
    • By Relevance
    • By Highest Price
    • By Lowest Price
  • Backup search parameters in the URL

Usage

We've included some credentials in the code allowing you to test the demo without any Algolia account. If you want to replicate this demo using your own Algolia credentials, you can use the push.rb script to send the data and configure the indices.

./push.rb YourApplicationID YourAPIKey YourIndexName

Then, you'll need to replace the demo credentials with your own ones:

  • in js/app.js, set your own APPLICATION_ID instead of "latency" (which is our demo APPLICATION_ID),
  • in js/app.js, set your own SEARCH_ONLY_API_KEY instead of "6be0576ff61c053d5f9a3225e2a90f76",
  • in js/app.js, set your own index name instead of "bestbuy".

Data Set

We've extracted 10,000 products from the Best Buy Developer API. You can find the associated documentation here.

instant-search-demo's People

Contributors

redox avatar seafoox avatar

Watchers

Eren avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.