IP Address Tracker

An IP address and domain lookup tool to display server locations on OpenStreetMap.

1 min read

  • CSS
  • Express.js
  • HTML
  • JavaScript
  • Node.js
description

Frontend Mentor - IP address tracker solution

This is my solution to the IP address tracker challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Built with HTML, CSS, Leaflet.js, and Express.js server for proxy and rate limit of https://geo.ipify.org API

If the map does not load it is because API is rate limited by the Express Proxy to 5 requests per 15 minutes so that limited API credits aren’t used up too quickly.

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

My process

Built with

What I learned

Use Typescript when building Express servers. Not having access to any method return types for http-proxy-middleware made route string conversion much more complicated than it needed to be.