notshekhar / express_api_getIPAddress

Home Page:https://peerip.glitch.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get IP Address

A server that serves a api that shows you your ip address.

Your Project

On the back-end,

  • App starts at server.js
  • Safely store app secrets in .env (nobody can see this but you and people you invite)

How to use

let req = await fetch("https://peerip.glitch.me")
let data = await req.json()
let ip = data.ip //you device ip address

About

https://peerip.glitch.me


Languages

Language:JavaScript 100.0%