Coder Social home page Coder Social logo

tries-project's Introduction

Search Engine Response Page

Demo

https://awesome-mestorf-f36572.netlify.app/?

SERP is a Trie + levenshtein distance based, mobile-ready, localstorage run, bootstrap - Jquery powered Search engine response page which comes with default dataset of some marvel characters and lets you add/index your own entries and stores them on browser's localstorage for you to use later. Keep in mind, it doesn't have a backend and hence any entry made will only be available on same device (just trying to display search capabilties using pure javascript)

Features

  • Lists all searchable entries
  • Let's you add into searchable entries by submiting simple form that stores your entry into localstorage
  • Remembers your search history
  • gives search suggestions as you type
  • autocorrects (Did you mean "XYZ") when you searched with wrong spellings

Tech

SERP uses a number of open source projects:

  • Twitter Bootstrap - great UI boilerplate for modern web apps and to make the UI responsive!
  • JQuery - Primarily for the ease of DOM manipulation
  • autosuggest-trie - Minimalistic trie implementation for autosuggest and autocomplete components in pure javascript.
  • Browserify - Browserify lets you require('modules') in the browser by bundling up all of your dependencies. It is used to bundle autosuggest-trie and js-levenshtein to be used on browsers.
  • js-levenshtein - Pure JS implementation calculating the Levenshtein distance between two strings.

Installation

SERP requires Node.js and npm to install and bundle JS dependecies.

Install the node and npm if it is not installed and do the following.

npm install -g browserify
npm install autosuggest-trie
npm install js-levenshtein

Once installed, move ahead to bundle the dependencies with browserify:

browserify main.js -o bundle.js

Deployment

You are free to deploy and host it with absolutely any hosting/web service. The repository has index.html which serves as default page and is implicitly recognised as default home page of any hosted web whereever you deploy it.

For simplicity, you can just clone the repo make your own changes as you need and use your own repo with netlify or similar services to link your github repository for an automated github event trigger based continuous deployment.

to know more follow step by step guide here: https://www.netlify.com/blog/2016/10/27/a-step-by-step-guide-deploying-a-static-site-or-single-page-app

License

MIT

Free Example Implementation, Hell Yeah!

tries-project's People

Contributors

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