Giter Site home page Giter Site logo

weather_map's Introduction

Weather App

This web application allows users to get real-time weather information and timezone details for a selected city. It utilizes the Mapbox API for geocoding and mapping and the OpenWeather API for weather data. Additionally, the TimezoneDB API is integrated to provide information about the timezone of the selected location.

Installation

You can check this site: https://weathermap-3dqz.onrender.com/ or

  1. Clone the repository:

    git clone https://github.com/illus1um/weather_map.git
    
  2. Install dependencies:

     npm install
    
  3. Start the server:

    npm start
    
  4. Open your browser and visit

    http://localhost:3000.
    

Usage

Register and login to the site.

Enter the name of the city in the input field at the top-right.

Submit the form to view weather information for the selected city.

The map will zoom in to the selected city, and a popup will display detailed weather information.

The weather information includes temperature, feels-like temperature, humidity, pressure, wind speed, country code and timezone details.

Also, you can check the history of your inputted cities.

If you want to redirect to the Admin panel, then you need to login as: username: meyrambek, and password: meyrambek

Detailed information about used API's

  1. Mapbox API Purpose: Mapbox API is used for geocoding (converting location names into geographic coordinates) and rendering interactive maps on the web.

Documentation: Mapbox API Documentation

  1. OpenWeather API Purpose: OpenWeather API provides real-time weather data, including current conditions, forecasts, and historical data.

Documentation: OpenWeather API Documentation

  1. TimezoneDB API Purpose: TimezoneDB API is used to retrieve information about the timezone of a specific location based on its geographic coordinates.

Documentation: TimezoneDB API Documentation

Design Decisions

Frontend Framework: The project uses Mapbox GL JS for mapping, vanilla JavaScript for the frontend and NodeJS for the backend

Structure: The project follows the MVC for organizing the code

Database: The project uses mongoDB for storing and retrieving data.

weather_map's People

Contributors

illus1um avatar

Watchers

 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.