biapar / ip-lookup

Lookup an IP address

Home Page:https://ipsearch.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

Introduction

IP Address Lookup is a web app that allows you to search for an IP Address and see its location on Google Maps. It also displays the city, country, zip code, and ISP.

Usage

When you first visit the site, it will automatically fetch your current IP Address and display its location on the map. You can also enter an IP Address in the search bar to see specific information of that IP Address.

Purpose

I wanted to use an IP lookup API to build a simple web app that displays specific information about an IP address. This would be useful for anyone who wants to see the location of a user based on their IP address.

Lessons Learned

I learned how to work with the Google Maps API to display the location with a marker. One of the challenges I faced was figuring how to submit the form when the page first loads. I achieved this with a useEffect hook that runs a function to submit the form when the page first loads. This allowed me to fetch the user's current IP Address.

Tech Stack

About

Lookup an IP address

https://ipsearch.vercel.app/


Languages

Language:JavaScript 98.2%Language:CSS 1.8%