IP info

by | Jun 21, 2023

About

Discover location data of IP address geolocation.

It’s just a demo project.

Technologies

  • React Js v18

    • Vite
    • Axios
    • HTML, CSS, JS
    • D3.js (world map)

    IDE (i used)

    • Visual Studio Code

    Browser (better experience)

    • Microsoft Edge
    • Google Chrome

    Other

Getting started

create .env file in main folder (outside src)

CI=false
GENERATE_SOURCEMAP=false

VITE_REACT_APP_BE_API=”http://localhost:8080″

make sure the backend is also started

npm install (skip if you already did it)

npm run dev (running locally)

Local: http://localhost:5173

Technologies

Java EE v21

  • Spring Boot v3
  • Lombok

IDE (i used)

  • Eclipse EE

Other

Getting started

in application.properties

# private token from ipinfo.io (required)
token.ip.info = ${TOKEN_IP_INFO}

 

# private token from openweathermap.org (optional)
token.open.weather = ${TOKEN_OPEN_WEATHER}

 

# url frontend (http://localhost:5173)
url.fe.cross.origin = ${URL_FE_CROSS_ORIGIN}

📜 License

(my own source code)

✔️ Free to use, copy and modify. Copying part of source code is allowed and you’re free to integrate in your personal projects without any restriction.

❌ Don’t sell, publish or distribute as yours without modifying it, be creative. (referring to the whole project)

(all other third party resources, technologies, languages, frameworks and libraries that i used)

⚠️ Please verify their own respective license, terms and conditions.

Warning

I’m always looking for best practices solutions but still learning so please keep in mind that the project is provided as it is without any warranty and there might be bugs or incorrect way to write code in terms of security.

💡Suggestion to improve the project are accepted. ✉️ Send Email