Skip to content

metkerr/ip-address-tracker-react

Repository files navigation

IP address tracker solution

This is a solution to the IP address tracker challenge on Frontend Mentor.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for each page depending on their device's screen size
  • See hover states for all interactive elements on the page
  • See their own IP address on the map on the initial page load
  • Search for any IP addresses or domains and see the key information and location

Screenshot

screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • Flexbox
  • Mobile-first workflow
  • React - JS library
  • Tailwind - For styles
  • ipify API - Geolocation data API
  • leafletjs - render interactive map API

Author

⚒ Usage

👥 Clone the repo

$ git clone https://github.com/metkerr/rest-countries-api-with-color-theme-switcher.git

📦 Install dependencies

$ cd rest-countries-api-with-color-theme-switcher
$ npm install

🔐 Store API KEY

Create a .env file with GUI or with .>.env command, and insert your ipify API KEY:

REACT_APP_KEY=YOUR_API_KEY

you can get your own api key from https://www.ipify.org/

✨ Start/Run the app

$ npm start

About

Get and search geolocation information by IP address or domain name

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published