This is an example implementation of the SmartyStreets JavaScript SDK in React.
To spin this example up and see it in action:
- Sign up for a SmartyStreets account
- Create a website key.
- Clone this repository.
- From your terminal, navigate into the cloned repository and install dependencies with your favorite package manager:
- With NPM:
npm install
- With Yarn
yarn install
- With NPM:
- Open
src/components/Autocomplete.js
in the cloned repository, adding the website key you created earlier to line24
. - From the cloned repository folder on your terminal, run
npm run start
. This will open your browser and load the implementation demo.