Giter Club home page Giter Club logo

vue_weather_app's Introduction

Weather App

Brief Description

Weather App is a Vue.js front-end application that provides a user-friendly interface for weather forecasts. It retrieves weather data from OpenWeatherMap and relevant city photos from Unsplash via a REST API implemented with Node.js and Express.js. Key features include global state management with Pinia for language and city selection, basic internationalisation between English and French, and a dark mode implemented using Vue use composables.

Vue 3.0, Composition API, and modern libraries were used throughout.

Table of Contents

Installation

Weather App is built using Vite, a build tool for Vue applications. To get started, follow these installation steps (note that the backend server will have to be active on another local port for this to work):

  1. Clone the repository:
    git clone https://github.com/your-username/weather-app.git
  2. Change into the project directory:
    cd weather-app
  3. Install dependencies using npm or yarn:
    npm install
    # or
    yarn
  4. Start the development server:
    npm run dev
    # or
    yarn dev
  5. Open browser and visit the URL provided by localhost

Features

  • User-Friendly Interface: Weather App offers an intuitive and visually appealing interface, making it easy for users to access weather data. Color schemes can be changed painlessly via CSS variables.

  • API Integration: It retrieves accurate weather data from OpenWeatherMap and topical city photos from Unsplash via a REST API.

  • Global State Management: Utilizes Pinia for global state management, such as allowing users to select their preferred language.

  • Dark Mode: Implements persistent dark mode support that first reads from system preferences, then saves session state locally.

  • Extensibility: Weather App can be extended, with the potential for future enhancements such as integrating Wikipedia or OpenStreetMap APIs or adding richer graphs.

Demo.mov

vue_weather_app's People

Contributors

lukerabbitte 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.