Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 609 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 609 Bytes

domain-search

This is an example of using trie data structure for prefix string search. It contains two separate projects; server-side using node.js, and client-side using AngularJS.

Requirements

Code has been tested using

  • node v8.7
  • npm v5.5
  • bower v1.8
  • grunt-cli v1.2

Running

server

you will need a file top-1m.csv in server folder for the app to import and index on startup. Then in server folder run the following commands:

$ npm install
$ npm start

client

In client folder run the following commands:

$ npm install
$ bower install
$ grunt serve