Autocomplete node.js example
This example shows how jquery ui autocomplete can work with a node.js socket connection.
If you are a mac user and need additional information on how to install the dependencies, just have a look on http://inspirationlabs.com/blog/installing-nodejs-npm-and-mongodb-macosx-lion.
- Check out this repository
- Open the terminal
- Change into the checkd out directory
- npm install ( Install the required dependencies )
- node app.js
How to use
To generate some data, just open your browser and enter http://localhost:3000/create .
You will be redirected to the main page and see the input field. The names Dominic, Heinz and Lorem are created by the /create script.
After that you should only open http://localhost:3000 to have a look at this demo application.