- install dependencies
yarn
you should have http-server and dependencies installed to your local node_modules
directory
- replace your apikey in example.html
replace '[YOUR APIKEY]' => 'fsdfsfxxfdfdxfd' // if "fsdfsfxxfdfdxfd" is your NextBillion.AI apikey
- serve the file locally NOTE: directly open the html file in brwoser won't work because of CORS policy.
yarn run serve
- visit [http://localhost:8080/example.html]