Skip to content

Geolocation of user by means of API consumption. Built with Angular.js 1.x, logic lives in a custom directive instead of the controller.

Notifications You must be signed in to change notification settings

andrewdc92/ip-tracker

Repository files navigation

An Ip tracker that provides your Geolocation!

Installation and Setup-

Copy the Git Clone URL (CMD + C) Cd into desired directory in your terminal Git clone (CMD + V) to paste the URL, run the command The application runs without a server since the API serve as the backend.

Currently hosted at https://andrewdc92.github.io/ip-tracker/

Just click the link and it will render your approximate location. Mobile results will vary if you're connected to 3g/4g/LTE.

I could have utilized the built-in HTML geolocation feature instead of the API, but that requires the user to accept permission. I wanted this to serve as a simple educational resource for showing the metadata that is attached an IP address.

The optional challenge here was to create a custom directive, so I went an unconventional route to pursue the challenge. I ran the majority of the logic through a custom directive instead of a controller to run the API request.

About

Geolocation of user by means of API consumption. Built with Angular.js 1.x, logic lives in a custom directive instead of the controller.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published