This is an example Node project for students to show off making GET requests using Axios in JavaScript.
-
Before starting, run
npm install
ornpm i
to install dependencies. -
Open up
src/index.js
to see the code. -
Use
npm start
to run thesrc/index.js
file.
An API key for LocationIQ is required to run one of the examples. Folks can follow steps in the associated lesson for more information on how to set up a .env
file locally to manage your API key.