Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 910 Bytes

File metadata and controls

14 lines (11 loc) · 910 Bytes

SmartyStreets JavaScript SDK - React Example

This is an example implementation of the SmartyStreets JavaScript SDK in React.

To spin this example up and see it in action:

  1. Sign up for a SmartyStreets account
  2. Create a website key.
  3. Clone this repository.
  4. From your terminal, navigate into the cloned repository and install dependencies with your favorite package manager:
    • With NPM: npm install
    • With Yarn yarn install
  5. Open src/components/Autocomplete.js in the cloned repository, adding the website key you created earlier to line 24.
  6. From the cloned repository folder on your terminal, run npm run start. This will open your browser and load the implementation demo.