Giter VIP home page Giter VIP logo

vijjusri14 / ip-locator Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 381 KB

IP Locator is a simple progressive web application to geo-locate an IP address it demonstrates the use of Google's Material Design Light, Google Maps JavaScript API and ip.nf JSON API and implements Service Workers, Cache API and offline functionality; the use of a Manifest for Web and Add to Homescreen.

Home Page: https://vijjusri14.github.io/ip-locator/

License: MIT License

HTML 20.57% JavaScript 74.71% CSS 4.72%
progressive-web-app json-api material-design-lite geolocation google-maps-api iplocation service-worker web-manifest jquery-ajax html5

ip-locator's Introduction

IP Locator

IP-Locator

IP Locator is a simple progressive web application to geo-locate an IP address it demonstrates the use of Google's Material Design Light, Google Maps JavaScript API and ip.nf JSON API and implements Service Workers, Cache API and offline functionality; the use of a Manifest for Web and Add to Homescreen.

Progressive Web Apps

Progressive Web Applications take advantage of the latest technologies to combine the best of web and mobile apps; think of it as a website built using web technologies but which acts and feels like an app. Recent advancements in the browser and the availability of service workers, the Cache and the Push APIs, have given web developers the possibility to install web apps to the home screen, receive push notifications and even work offline.

Service Workers

Event-driven scripts (written in JavaScript) that have access to domain-wide events, including network fetches. Through service workers, it's possible to cache all static resources, which could drastically reduce network requests and have considerable performance improvements too.

Manifest

A simple JSON file that must follow the specification available on W3C, it is possible to run the web app in full-screen as a standalone application, assign an icon which will be displayed once the application is installed onto the device or assign a theme and background colour to your app. In addition, Chrome on Android also proactively suggests to the user to install the web app using Web App install banners.

Technology

Built using traditional HTML5 with Google's MDL, CSS3 @media queries for responsive design and JQuery that simulates the retrieval of data from the API by AJAX JSON get calls.

API

The JSON API of https://ip.nf is used for gathering geo-loction data. Google Maps JavaScript API to display the gathered geo-loction data on map.

Demo

Demo: https://vijjusri14.github.io/ip-locator/

ip-locator's People

Contributors

vijjusri14 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sshyran kirschd

ip-locator's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.