Run in dev mode
npm install
npm run dev
Build and prepare for hosting
npm install
npm run build
✔️ Uses Next.js + React + TypeScript + CSS Modules + SCSS.
✔️ Displays user IP with it’s location on the map after initial load.
✔️ Search box accepts only IP address or URL (if user provides something else appropriate message is displayed).
✔️ User can query any IP address or URL and display it on map.
✔️ 3rd party API responses are validated, error is displayed when needed.
✔️ History of searched locations is stored during session. Items in the list and markers on the map are clickable.
✔️ Has Responsive UI.