Skip to content

IP Address Geolocation Viewer is a web application built using React, Leaflet, and other technologies, allowing users to discover information about their IP address and its geographical location.

Notifications You must be signed in to change notification settings

adhanif/mapReact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IP Address Geolocation Viewer

IP Address Geolocation Viewer is a web application built using React, Leaflet, and other technologies, allowing users to discover information about their IP address and its geographical location.

Netlify

Features

  • Displays the user's IP address and its location on an interactive map.
  • Showcase important data such as country, state/province, city, zip code, ISP, coordinates, and continent.
  • Enhance user experience by visualizing the corresponding country flag.

Getting Started

Follow these instructions to set up and run the project locally on your machine.

Prerequisites

Node.js: Make sure you have Node.js installed. You can download it from nodejs.org.

Installation

  1. Clone the repository:

    git clone https://github.com/adhanif/mapReact.git
  2. Navigate to the project directory:

    cd mapReact
  3. Install dependencies:

    npm install

Configuration

  1. Obtain an API key from ipgeolocation.io by signing up for an account.

  2. Create a .env file in the project root directory and add your API key:

    VITE_API_KEY=your_api_key_here

Running the Application

npm run dev

Technologies Used

  • React: JavaScript library for building user interfaces.
  • Leaflet: Open-source JavaScript library for interactive maps.
  • Bootstrap: Front-end component library for responsive design.
  • Axios: Promise-based HTTP client for making API requests.

About

IP Address Geolocation Viewer is a web application built using React, Leaflet, and other technologies, allowing users to discover information about their IP address and its geographical location.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published