Small select city dropdown component with Rest API.
-
Clone project to your computer.
-
For instaling dependencies in the project directory run:
npm i
-
Next you need to register in https://www.universal-tutorial.com/rest-apis/free-rest-api-for-country-state-city, then generated token and email put in .env file.
-
For run App in terminal write:
npm run start
Generated tokens expires in one day.