Adding Autocomplete feature to input field like Amazon Search

223
December 09, 2017, at 2:32 PM

I am working on building an application. Backend: NodeJS. Frontend: JavaScript/AngularJS.

One of my views has a form with a text input field. When the user types in the input field I want have an autocomplete feature. I don't want to use jQuery UI or any other resource that needs to access a local db or local JSON file because I do not want to be limited. I prefer to have access to Amazons API, if possible.

I have been searching for a few days and so far I found: 1. Using Amazon's affiliate API for autocompletion 2. https://github.com/caroso1222/amazon-autocomplete 3. https://simplestepscode.com/autocomplete-data-tutorial/

However, the documents at these resources do not provide detailed instructions that a beginner could follow and successfully implement.

Issue with solution 2: after set up the addWordToCustomPanel is not defined. Issue with solution 3: not sure how to implement the url and configure the correct callback.

Does anyone have experience in implementing autocomplete or any of the aforementioned solutions?

READ ALSO
How to use the “debug” module with typescript

How to use the “debug” module with typescript

I have an NTVS (Node Tools for Visual Studio) project with TypescriptThe following statement doesn't compile:

306
Trigger an API automatically based on user specified time using nodejs

Trigger an API automatically based on user specified time using nodejs

I am working on an application which will trigger a http api based on user specified timeBasically it is a message scheduling app on Nodejs that will call different web-services to communicate and post data on user specified time

222
I keep getting “Failed to load resource” when I try to start an React app

I keep getting “Failed to load resource” when I try to start an React app

So I'm working on a React App using Webstorm for IDEAs far as I can tell everything seems to be configured properly, but somehow when I try to run the app it would throw an error "Failed to load resource: the server responded with a status of 404 (Not Found)"

305
combine Node BE and React FE of two different git repos failed

combine Node BE and React FE of two different git repos failed

I am having a trouble to combine Nodejs and ReactJsThey are in the separated git repos

186