The project calls the Geolocation API by IPify to get the requested IP info, then uses the result to update the outputs and map.
Using vanilla & Tailwind CSS for styling, with regex strings for validation parsing. Styled components will used in my next project as I learn more frameworks.
Tested with Vitest & MSW API mocking
It was inspired by a front-end mentor challenge.
-
IP Geolocation API by IPify (1000 requests max) https://geo.ipify.org/
-
LeafletJS (Generate Map) https://leafletjs.com/ https://react-leaflet.js.org/
- Download zip
- npm i to install packages & dependencies
- npm run dev to open on localhost
- npm run test on a seperate terminal to load vite tests
Reach out by email at [email protected]