Our autocomplete tool can be found on Heroku here!
Create an autocomplete search bar
To practice node and writing back-end things.
- Create webpage with input field to submit
- XHR on keypress
- Update with retrieved search suggestions
- Import word list as variable (API? txt file?) (pair A)
- Create end point for requests (a server) (pair B)
- Send response of search suggestions back to front-end
- Unit testing as we go
- Modularise files
- Set up Continuous integration with Travis, and code coverage using Codecov and istanbul.
- Look at categorising words ie. trousers in Menswear
- To install npm dependencies:
npm i
- To run the server:
npm run devStart
- To run tests:
npm test
- To check code coverage run:
npm run coverage