Quick reference of info related to U.S. states, e.g. sample addresses, driver's license formats, etc.
Self-contained example of using us-states-ref. Includes filterable web page for viewing data, exposes endpoints for your testing scripts/other personal work.
Node 4.6.0
-
Copy or clone project to computer.
-
Install the Node dependencies listed in package.json, e.g. in the command prompt, nav to us-states-ref-client/server and
npm install -
After that's done, stay in the same folder and run
node app.js -
Go to http://localhost:3000/usstates for a filterable view of the states data. If it loads, you're all set!
-
Appreciated how easy React made it to create the filterable web page.
-
It's a snap to include the us-states-ref package and adding the endpoints to the Node/Express server.
-
See us-states-ref for other thoughts regarding that package.