IP info

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=falseVITE_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
- Free external API ipinfo.io
- Free external API openweathermap.org
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)
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