You wille find here a complete app using node.js with an autocomplete field using mysql database