Giter Club home page Giter Club logo

ip-tracker's Introduction

Table of contents

Overview

  • The IP Address Tracker one user can log in using his/her mobile number and OTP(Passwordless, thanks to SAWO for such an amazing passwordless SDK).
  • On successful login user can see his/her own IP address with timezone, and ISP details with live location on the map.
  • User can also search for IP address and domain in the search box as well.

The challenge

Users should be able to:

  • Login using SAWO sdk (the passwordless way)
  • 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
  • User can also redirect if he/she does not log out from the webapp.
  • Route-specific login. (Non-authenticated users can not search for IP address or domain).

Screenshot

Links

My process

Built with

Development Setup

  • Make sure you have Prettier and Eslint exntension installed on your editor.

  • Install all the required node_modules

    npm i or yarn
  • First go to Ipify create an account for free and copy the API key.

  • Then go to SAWO register for an account by creating a new project host named as localhost and copy the SAWO API KEY.

  • Create a .env.dev file in the root of the project directory. Then add

REACT_APP_ENV = "dev"
REACT_APP_IP_GEO_API=***your geo api key***
REACT_APP_GEO_API_PATH=https://geo.ipify.org/api/v1
REACT_APP_SAWO_API_KEY=***your dev-project sawo api***

  • Run the development server by
npm run start:dev or yarn start:dev

Production Setup

  • Then go to SAWO register for an account by creating a new project host named as your deploy hostname and copy the SAWO API KEY.

  • Create a .env.prod file in the root of the project directory. Then add

REACT_APP_ENV = "prod"
REACT_APP_IP_GEO_API=***your geo api key***
REACT_APP_GEO_API_PATH=https://geo.ipify.org/api/v1
REACT_APP_SAWO_API_KEY=***your prod-project sawo api***

  • Build the project by
    npm run build or yarn build
  • Then host your project as your wish.

ip-tracker's People

Contributors

jeevanthedev avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.