Skip to content

dreamweiver/react-web-search-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebSearch form using Reactjs

A simple react application to showcase a Web Search results from multiple api(wiki, DuckDuckGo) form with autocomplete feature.

Installation

To get started, open terminal and do-what-i-say

$ git https://github.com/dreamweiver/react-web-search-form
$ npm install

How to launch ?

Open the terminal and run below npm command

$ npm start

This command would trigger the npm script, which would launch the server automatically and will start the app.

Start entering value into the search field, autocomplete logic will be triggered on background and will pull auto suggestions from google api. selection on any of the auto suggestions will make a websearch(wiki & duckDuckGo api), thr results from these api's will shown on the screen.

How to run the test case or view code coverage.

In order to just run the test cases open the terminal and run below npm command

$ npm test

To know the actual code coverage,run below npm command

$ npm run test-coverage

To generate production level code(bundled => minified => uglified),run below npm command

$ npm run build

Author

About

A simple react application to showcase a Web Search results from multiple api(wiki, DuckDuckGo) form with autocomplete feature.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published