GithubHelp home page GithubHelp logo

king7saksham / geo-earth Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 99.38 MB

Geo Earth is a web application that provides interactive visualization of geographic data on a global map. It allows users to explore various country-related information such as population, area, capital, currency, and more.

License: MIT License

Java 25.61% JavaScript 49.25% HTML 10.10% CSS 15.04%

geo-earth's Introduction

Geo Earth

Geo Earth is a web application that provides interactive visualization of geographic data on a global map. It allows users to explore various country-related information such as population, area, capital, currency, and more. The application is built using React, Mapbox GL JS, Spring Boot, PostgreSQL, and PostGIS.

Technologies Used

  • React
  • Mapbox GL JS
  • Spring Boot
  • PostgreSQL
  • PostGIS

Features

  • Interactive map: The application displays a world map powered by Mapbox GL JS, allowing users to zoom in, pan, and explore different regions.

  • Country data: Each country is represented as a polygon on the map, and users can click on a country to select or deselect it. Selected countries are highlighted, and their population and area are tracked.

  • Search functionality: Users can search for specific countries using the built-in search feature powered by Mapbox Geocoding API.

  • Total counters: The application shows total population and total area counters, which update dynamically as countries are selected or deselected.

Getting Started

Follow these instructions to set up and run the geo-earth application on your local machine.

Prerequisites

Make sure you have the following software installed on your machine:

  • Node.js (version 18.16.10 or higher)
  • npm (version 8.19.4 or higher)
  • Java Development Kit (JDK) (version 20 or higher)
  • Maven (version 3.9.2 or higher)
  • Spring Boot CLI (version 3.1.0 or higher)

You can download Node.js and npm from the official Node.js website: https://nodejs.org

The Java Development Kit (JDK) can be downloaded from the Oracle website or through a package manager like Homebrew (for macOS users) or apt-get (for Linux users).

Installation

  1. Clone the repository:
   git clone https://github.com/king7saksham/geo-earth.git
  1. Navigate to the project directory:
    cd geo-earth
  1. Set up the frontend:
  • Open a terminal and navigate to the worldmap directory.

  • Install the dependencies:

    npm install
  1. Start the backend server:
  • Open a terminal and navigate to the country directory.

  • Build the project:

    mvn clean package
  • Run the server:
    java -jar target/country-0.0.1-SNAPSHOT.jar

Screenshots

Screenshot 1 Select countries by clicking on them

Screenshot 2 Search for specific countries (Right-click to open info card)

Usage

  1. Start the frontend development server:
    npm start
  1. Open your web browser and visit http://localhost:3000 to access the Geo Earth application.

License

This project is licensed under the MIT License.

Acknowledgements

This project would not have been possible without the contributions of the following technologies and communities:

geo-earth's People

Contributors

king7saksham avatar mukund49 avatar

Watchers

 avatar

Forkers

mukund49

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.